You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test coverage for data models is hampered by the fact that all properties declared at class level are always run. Coverage is shown at 100% but none of those properties have actually been tested. Devising full testing for all models by hand is a large amount of work that has to be done manually, with very little immediate benefit.
Possible solutions to consider:
Generate the test code using a generator in the same way models are generated. This is also a fair amount of work but could pay off in the long run.
Focus on developing the test data to cover real cases.
Include deliberately broken or pathological models.
Generate the test data with randomized inputs via fuzz-testing or (ideally) property based testing.
Test coverage for data models is hampered by the fact that all properties declared at class level are always run. Coverage is shown at 100% but none of those properties have actually been tested. Devising full testing for all models by hand is a large amount of work that has to be done manually, with very little immediate benefit.
Possible solutions to consider:
The text was updated successfully, but these errors were encountered: