Tag Archives: AutoTests

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

Posted in Unit test | Tagged , | Leave a comment

Tools and libraries to consider when writing autotests

Below is a summary of tools/libraries I have used to build maintainable suite of auto tests on large ecom project. While it is hard to start without test framework :), some autaaof the libraries listed below could be easily omitted … Continue reading

Posted in Unit test | Tagged | Leave a comment

Handling test data clean up in SpecFlow

Overview This post describes how to handle scenario level clean-up in a predictable way. Note: This blog post was originally written for SpecFlow 1.9 version. In SpecFlow 2+ version you should use scenario scoped bindings  with  [BeforeScenario] execution order can be … Continue reading

Posted in Selenium, SpecFlow | Tagged , , | Leave a comment