I was reading a tutorial about Jasmine testing and it suggested you should use the standard Jasmine directory tree structure (which seems to be related with RSpec directory tree structure). I have googled for an hour and can't find any info about this standard directory tree.
How would a standard Jasmine testing environment directory tree look like, considering a very complete scenario (with HTML fixtures, JSON fixtures, specs, etc)?
Thanks in advance for any help!
It's true that there is no standard, but there seems to be some suggested ways of organising your project directory tree structure.
After working these last week on some ruby and jasmine projects it seems to me that the suggested structure is:
test
SpecRunner.html
jasmine
lib
<jasmine.js and other files>
spec
javascripts
my-spec.js
fixtures
my-fixture.html
helpers
my-helper.js
support
yasmine.yml
yasmine_helper.rb
Any feedback will be much appreciated!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With