Skip to content

Laika doesn't work with velocity tests. #148

@frozeman

Description

@frozeman

I tried to add laike to an app where i have also the sanjo:jasmine velocity package add. It fails stating:

    [server log] TypeError: Object #<Object> has no method 'registerTestingFramework'
  at [object Object]._.extend.registerWithVelocity (/Users/frozeman/.../my-meteor-blog/.meteor/local/build/programs/server/packages/sanjo_jasmine.js:200:14)

If i remove sanjo:jasmine it fails, because it want to read also the jasmine test files:

ReferenceError: describe is not defined

Could you add an option to specify the folder in which laika is looking for the tests?
All velocity frameworks must be placed inside a folder named after the testing framework like tests/jasmine or tests/mocha. Could we add the option to only look in tests/laika?

I'm currently finishing up my book (https://www.packtpub.com/web-development/building-single-page-web-apps-meteor) and would like to present laika in the testing chapter, next to velocity.

If you can make it work with velocity would be great, otherwise, if you at least add the option to specify the folder, so it could work along velocity (though one has to remove sanjo:jasmine before, which is also not ideal) i could leave laika in the chapter, otherwise i have to leave it out as its incompatible to meteors official testing framework :(

I'm kind of in a hurry as the book will be published soon, so i would appreciate if you could look into this asp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions