JSTest.NET from Nuget integration with MS Test Series Part 6

This is the concluding post part 6 of 6 posts. you can find the previous post here.

Guideline and thought process of using the complete structure:

  1. Always keep the JavaScript tests in .js files under Test projects
  2. Refer production files from Main project.
  3. Reason to write tests for each function separately because it will help in troubleshooting  to correct broken function.
  4. Always inherit from base : JavaScriptTestBase
  5. JavaScript Function name is case sensitive. Just be careful!
  6. In Setup function use AppendProdJavaScriptFile() to all production JavaScript file to test.
  7. The path of the JavaScript file name mentioned in MS Test is critical.

I hope this 6 part series was helpful for you to set up your JSTest.Net infrastructure.

Happy Testing!


1 comment

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: