Comments (2)
Also, from #5, the following environment variables should be documented:
- MAVEN_MIRROR_URL
- BEHAVE_TIMEOUT
from behave-test-steps.
--steps-catalog
might help. E.g.
$ behave --dry-run --format=steps.catalog | head
Given define variable
Location: steps/steps.py:294
Given container is started with env
Location: steps/container_steps.py:72
Given container is started with args
Location: steps/container_steps.py:86
Given container is started with entrypoint {entrypoint}
Possibly useful formatters (shown by --format=help
are)
- steps: groups Given/when/then which is useful, links to implementation path:line; doesn't include docs
- steps.catalog: groups given/when/then; reports implementation path:line on an indented second line; includes docs when the steps have them;
- steps.usage: reports on the usage of steps for a particular image. THus not generically useful
The output of steps.catalog could be lightly marked up and turned into HTML, perhaps pushd to github pages on commit.
PoC here: https://github.com/jmtd/behave-test-steps/tree/gh-pages-doc-steps ; example output: https://github.com/jmtd/behave-test-steps/blob/gh-pages-doc-steps/docs.md
from behave-test-steps.
Related Issues (20)
- Encoding exception when executing tests HOT 5
- Fix behave escaping HOT 1
- Step to check that log contains a message n times HOT 1
- warnings about comparisons with literals HOT 1
- Make S2i steps parameters configurable by env variables. HOT 3
- loader references python2 dependencies HOT 1
- Timeout not configurable for steps that check file content
- "When container is started with args" waits for a java process even when not calling java HOT 2
- s2i steps default to git ref "master", but not all git repositories have a master branch
- Make behave tests to start containers with port-forward to run tests in non-Linux machines HOT 4
- wishlist: steps to check for environment variable definitions in container image
- wishlist: step to check for existence (or not) of a path in a container
- Dependency Dashboard
- Update hard-coded DOCKER_API_VERSION with value from Cekit
- Drop CI env variable HOT 1
- run behave-test-steps regression tests / behave-test-steps regression tests (push) Failing after 60m HOT 3
- feature files in test/tests/features are being included for every `cekit test`
- Cekit hangs in container.execute(ps -C java,False) for simple behave tests HOT 8
- xml_steps doesn't correctly compare the expected element count to the actual count
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from behave-test-steps.