-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion about a test folder. #3
Comments
Good idea. I do something like this for personal use, however I use Ideally I would like to add a CLI tool to add tests which would let you add tests inside each module, (e.g. I know meteor reserves the 'tests' directory in app root for tests - is this also true for packages? I've always had to symlink into |
I don't think you need the symlinks. With this setup you run your tests with meteor This is relevant even for end-to-end tests, if they are possible to test. |
Alright so I tried testing within packages using this structure a little bit and I noticed that my helpers in tests/jasmine were not available to me inside my modules, which makes sense since it's isolating the package. To keep in line with the purpose of this package I would like to keep this open until either I or someone else can add a utility package which you would |
Maybe having a test-lib package with your test helpers, that you can |
That's exactly what I had in mind. I'm going to play with this for a bit, |
Instead of having my code inside
lib
, I create two folders,src
andtest
.I can then put the tests inside the package.
The text was updated successfully, but these errors were encountered: