Say I have a test that asserts whether registration of a new user in the system actually succeeds:
RegistrationIntegrationTest#testRegister()
Now, this creates a new test user in the actual database, since I want this test to run on the actual environment. This means that the test must not be run all the time, right? How should I approach these kind of tests? Those that use the actual environment of the system and manipulates real data?
You could use one of the following: