Search posts:
Categories
- ASP.NET (2)
- Documentation (6)
- F# (1)
- object-oriented-principles (1)
- programming (1)
- Selenium (2)
- software-patterns (1)
- SpecFlow (1)
- SysInternals (1)
- Uncategorized (2)
- Unit test (4)
- VS 2013 tips (1)
- WEB API (6)
- XML (1)
Archieves
- November 2019 (1)
- June 2019 (1)
- January 2018 (1)
- November 2017 (4)
- October 2017 (1)
- November 2016 (2)
- September 2016 (1)
- May 2016 (1)
- April 2016 (1)
- March 2016 (2)
- September 2015 (1)
- June 2015 (2)
- December 2014 (2)
Blogs I Follow
Top Posts & Pages
Category Archives: Unit test
ApprovalTests > Customize output file names
By default ApprovalTests generate output file to the same location where test class resides, with the file name as ClassType.MethodName. This behaviour is configured in `UnitTestFrameworkNamer` class, that is default namer for ApprovalTests. Long test names issue Tests are usually … Continue reading
AutoFixture > Using [Frozen] attribute on test method parameter
[Frozen] attribute is used to freeze instances of objects. It is applied on test method parameters. We will consider simple examples with string comparison test. Without [Frozen] attribute Result: Failed Using [Frozen] attribute Applying [Frozen] on the first parameter of type … Continue reading
AutoFixture > Customize objects creation with ICustomization interface
In this post we will look at AutoFixture basic customization features starting with ICustomization interface. We will use following DateRange class as demonstration example. If we write test method using DateRange as parameter: Test will sometimes fail with “System.ArgumentExceptionFinish date … Continue reading
Tools and libraries to consider when writing autotests
Below is a summary of tools/libraries I have used to build large maintainable suite of auto tests on large web project. Test Framework XUnit xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal … Continue reading