-
Notifications
You must be signed in to change notification settings - Fork 43
Description
In the open source guidance in this framework it says that code must have unit tests, integration tests, API tests and more besides.
This contradicts other guidance released by the NHS and in government:
The gist of these policies is that code should be open by default, and it should be open whether or not the code follows all the best practice (like having tests). Someone who wrote the Goldacre review said to me that code should be published even if it is bad. In fact, the policies even suggest coding in the open (from the start having your code be open source) as the ideal.
For this reason, it would be better if the quality framework changed some of its requirements from "required minimums" to "nice to haves" - or maybe it should even delete those requirements. This would mean this document aligns with what other government guidance suggests.
To be clear - I think you totally should have those tests, but that shouldn't be a requirement for open sourcing the code.