searls / jasmine-given

Like rspec-given, but for jasmine
testdouble.com
MIT License
178 stars 26 forks source link

Working with Angular2 #51

Closed keyvan-m-sadeghi closed 8 years ago

keyvan-m-sadeghi commented 8 years ago

Hi,

Was wondering if it'd be possible to use jasmine-given within Angular2? Angular2 uses jasmine as the foundation for it's testing framework, there is forthcoming chapter (Test a Component in the DOM) in docs on how helpers could be integrated, though I need testing in a production app now and docs doesn't seems to be Angular's top priority right now :(

Any help is very much appreciated.

searls commented 8 years ago

There's no reason that this library wouldn't work with Angular, but I don't think it'd be appropriate for us to invest the time in examples specific to each framework. I recommend giving it a try and see what you run into, then open issues if jasmine-given is the root cause of any problems you encounter.