Skip to content
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

'Meteor test' seems not working #67

Open
kadensungbincho opened this issue Apr 8, 2019 · 3 comments
Open

'Meteor test' seems not working #67

kadensungbincho opened this issue Apr 8, 2019 · 3 comments

Comments

@kadensungbincho
Copy link

kadensungbincho commented Apr 8, 2019

I tried to test meteor with
meteor test --driver-package meteortesting:mocha --test-app-path $(pwd)/.meteortest

but it endlessly showed

I20190408-11:20:22.005(9)? --------------------------------
I20190408-11:20:22.006(9)? ----- RUNNING SERVER TESTS -----
I20190408-11:20:22.006(9)? --------------------------------
I20190408-11:20:22.006(9)? 
I20190408-11:20:22.006(9)? 
I20190408-11:20:22.006(9)? 
I20190408-11:20:22.007(9)?   0 passing (0ms)
I20190408-11:20:22.007(9)? 
I20190408-11:20:22.007(9)? Load the app in a browser to run client tests, or set the TEST_BROWSER_DRIVER environment variable. See https://github.com/meteortesting/meteor-mocha/blob/master/README.md#run-app-tests
=> Exited with code: 0

I currently installed meteor packages like

# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

meteor-base@1.4.0             # Packages every Meteor app needs to have
mobile-experience@1.0.5       # Packages for a great mobile UX
mongo@1.6.0                   # The database Meteor supports right now
reactive-var@1.0.11            # Reactive variable for tracker
tracker@1.2.0                 # Meteor's client-side reactive programming library

standard-minifier-js@2.4.0    # JS minifier run for production mode
shell-server@0.4.0            # Server-side component of the `meteor shell` command

insecure@1.0.7                # Allow all DB writes from clients (for prototyping)
react-meteor-data       # React higher-order component for reactively tracking Meteor data
http
meteorhacks:picker@1.0.3
meteortesting:browser-tests@1.0.0
meteortesting:mocha@1.1.0
meteortesting:mocha-core@1.0.1
ardatan:webpack
ardatan:webpack-dev-middleware
accounts-ui
accounts-password
session
juliancwirko:postcss

I tried other meteor test driver like praticalmeteor but it didn't work. Should I change something?
I expect the web reporters view when I open localhost:3000

@kadensungbincho kadensungbincho changed the title meteor test not work 'Meteor test' seems not working Apr 8, 2019
@alexmarczinek
Copy link

I'm also having the issue that meteor test hangs up after running server tests.
In my case it started working again after removing "@import '~bootstrap/scss/bootstrap';" in my main .scss and using the precompiled bootstrap.css. So my guess is that it is some issue with css.

@jthomaschewski
Copy link

Same here. Meteor/Mocha doesn't seem to find any tests when ardatan webpack package is enabled.
This can be reproduced with example "react" from this repo.

Removing (s)css-imports didn't fix the issue for me, have you found any solution/workaround in the meantime, @kadensungbincho @Shiadra ?

@mathieustan
Copy link

mathieustan commented Jan 6, 2020

Same issue here. @ardatan Do you have any idea ? I'll maybe check locally to find

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants