Hi, hospital form guy here
Situation: every hospital form has the same header which uses the same piece of code for testing. I currently have 2 form tests written. Problem is, the same code is copy-pasted in both tests. If I want to make changes to the header code, I have to change it in every test, which is not very convenient.
Situation that would be useful:
1. Launch test
2. Test includes the header code and tests it.
3. Test continues running its test-specific code.
How could I achieve this? Thank you in advance.