When considering to add a new feature to HUMLFramework, we encourage you towards the following process:
- Create an issue on openValidation, describing in detail what feature you are planning to implement, and what problem you are trying to fix by implementing that feature.
- Make a fork of this repository, and implement the Function in a HUMLFramework in any language.
- Write tests for your function. Does it behave in the way you expect it to?
- Optional: We encourage you to implement and write tests in as many languages on this repository as you can.
- Make sure to add your function to all FrameworkTesting-files for all languages in this repository. Cross off any, that you have implemented and tested.
- Create a fork of openValidation.
- Add your new function to the generation template for the HUMLFramework of your target language.
- Generate the framework-file locally. And run all tests (
mvn clean test -Pintegration
). If you break any of the unit tests, or the project fails to compile, you have likely broken something in code generation by inserting your function in a wrong way. - If everything compiles and all tests are green, create a pull request for your feature on this respository for the tests of your new function.
- Create a pull request on openValidation, linking to the pull request on this repository.