ardatan / ardatan/meteor-webpack

'Meteor test' seems not working

Open
#67 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
123
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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.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
```# Meteor packages used by this project, one per line.
# 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](https://guide.meteor.com/images/mocha-test-results.png) when I open localhost:3000

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `meteor test --driver-package meteortesting:mocha --test-app-path $(pwd)/.meteortest` with the listed Meteor packages, then compare the output with the meteortesting:mocha README's app-test instructions. Done means the test process no longer loops with zero passing tests and the expected web reporter is available at localhost:3000.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.