- ClearSystemProperties: Clear System Properties
- ProvideSystemProperty: Provide System Properties
- ProvideSystemProperty: Provide System Properties
- ProvideSystemProperty: Load properties from resource file
- RestoreSystemProperties: Restore system properties
- SystemErrRule: Test Error Messages
- SystemOutRule: Validate output messages
- SystemOutRule, SystemErrRule: Handle new line characters
- SystemOutRule, SystemErrRule: Verify binary data
- SystemErrRule, SystemOutRule: Clear log
- SystemErrRule, SystemOutRule: Mute log messages
- TextFromStandardInputStream: Create tests that depends on input (System.in)
- DisallowWriteToSystemOut: Disable System output messages
- DisallowWriteToSystemErr: Disable System error messages
- ExpectedSystemExit: Test System exits
- EnvironmentVariables: Set and clear Environment Variables
This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
Friday, 19 February 2021
System rules tutorial
Labels:
junit,
system rules,
testing
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment