1

The application I am currently working have a Asp.Net MVC serving up the pages and angularjs on the client side. I am looking to set up the unit testing on the angularjs controllers, services. Is there a way to set up unit testing for angularjs scripts without NodeJs. Or is the only way to Unit test the client side contollers through Grunt, Jasmine and Karma and mentioned on most of the articles. Thank you

3
  • This question is too broad. Commented Jan 26, 2017 at 15:39
  • I was wondering if there is a preferred way among the asp.net mvc community to unit test angularjs controller with out installing nodejs. Commented Jan 27, 2017 at 16:55
  • Try reddit.com/r/dotnet Commented Jan 27, 2017 at 17:29

1 Answer 1

0

After reading through a few blog post was able to accomplish this with chutzpah test runner and Jasmine nuget package for chutzpah. Might not be the most elegant solution but it works as per the given parameters on the task

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.