Christian
Christian

Reputation: 7852

JavaScript unit tests in a separate project when using Chutzpah testrunner and requirejs in Visual Studio

I'd like my tests to be in a separated project from the code under test as described in Jasmine in a separate test project. However, the approach with including reference paths in the test files doesn't apply to when the test is used with requirejs. Is there any other way to accomplish this?

Upvotes: 3

Views: 1764

Answers (1)

Matthew Manela
Matthew Manela

Reputation: 16762

You should be able to do that using the chutzpah.json file settings. Take a look at this sample which shows having the source and tests in different folders.

Upvotes: 4

Related Questions