Some of our core contributers will be working directly on GitHub. These changes will be public from the beginning.
We move fast and most likely things will break. Every time there is a commit our CI server will run the tests and hopefully they will pass all times. We will do our best to properly communicate the changes that can affect the application API and always version appropriately in order to make easier for you to use a specific version.
The core contributors will be monitoring for pull requests. When we get one, we will pull it in and apply it to our codebase and run our test suite to ensure nothing breaks. Then one of the core contributors needs to verify that all is working appropriately. When the API changes we may need to fix internal uses, which could cause some delay. We'll do our best to provide updates and feedback throughout the process.
Before submitting a pull request, please make sure the following is done:
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests!
- If you've changed APIs, update the documentation.
- Ensure the test suite passes (
bashunit test
).
We will be using GitHub Issues for our public bugs. We will keep a close eye on this and try to make it clear when we have an internal fix in progress. Before filing a new task, try to make sure your problem doesn't already exist.
The best way to get your bug fixed is to provide a reduced test case.
-
Global Variables :
- SHOULD be avoided and used only to store global state
- MUST be handled using getters and setters
- MUST be named in uppercase, e.g.:
MY_VARIABLE_NAME
-
Local variables :
- MUST be declared with the local keyword
- MUST be named in lowercase
-
CLI functions:
- MUST be tested and documented
- Documentation MUST follow the following format :
# Description # USAGE: <name_of_function> [<arguments>] # RETURN: <type_of_return>
- when used as a core bashunit function MUST follow the naming schema
bashunit[.${context}.]${function_name}
- MUST always return 0 when success and not 0 when fail
By contributing to bashUnit, you agree that your contributions will be licensed under the Apache License Version 2.0 (APLv2).