Repository navigation
apm tests fail on latest commit 9ff5fb2 #11543
Description
Description
After synching source repository to latest commit and building Atom from scratch, running tests on Atom core fails.
Steps to Reproduce
- Move to root directory in Atom source repository
- Sync local repo with atom remote one
- Build Atom from scratch
- Run
apm testfrom repository root
Expected behavior:
Tests should all pass:
- console should show only dots (
.), noFs, - should show the number of ran/passed tests and
- show a final green Tests passed message.
Further, in order to check installed version, atom --version should show version string.
Actual behavior:
Not all tests pass, some fails (see also output pasted at the bottom):
- console shows some
Fs, - it does not show number of ran/passed/failed tests and
- it shows a final red Tests failed message.
Further, atom --version does not show anything, it just quits after being lunched.
Actual output:
D:\atom>apm test
............................F.F......FFFFF.F........F.F...F..------...............................................................................................................................................................................................................................................................................................................................F......................F....................................F...............................................................................F.FFF.................................................................................FF....................................................................................................................................................................................................................................F..F............................................................................................................................................................................................F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Tests failed
Versions
- latest commit: [email protected] 9ff5fb2 dated April 20th 2016
atom --versionshows no output- Atom version from
Help\Aboutmenu: 1.9.0-dev-9ff5fb2 apm --versionshows:
apm 1.9.2
npm 2.13.3
node 0.10.40
python 2.7.10
git 2.7.4.windows.1
visual studio 2013
- OS version: Windows 10 64-bit
Activity
winstliu commentedon Apr 20, 2016
Specs currently only pass on Mac. @damieng is working on getting them to pass on Windows though.
damieng commentedon Apr 20, 2016
#11488 is the first batch of fixes. Feel free to jump in!
BrainCrumbz commentedon Apr 20, 2016
Thanks for such a quick info! @damieng , the plan was to start from 0 failed, so that we could add ours 😸 . BTW, the current clone we did (from commit 9ff5fb2) already includes the mentioned PR.
BrainCrumbz commentedon Apr 20, 2016
Two questions:
damieng commentedon Apr 20, 2016
I don't think we actually have an issue to track it so we could use this one.
There are a whole bunch of failing tests. I don't have a definitive list as at least one test kills the spec runner...
BrainCrumbz commentedon Apr 21, 2016
If it can help, we'd like to share our very recent experience:
while working on a local branch, splitting some class in smaller, more focused ones, we were running just one test scenario by means of
fdescribe. While splitting files, I accidentally forgot to assign a local variable that another variable was depending on:That mistake was enough to have
apm testshowing absolutely no test progress indicators and only Tests failed message:D:\atom>apm test Tests failedIn the same context, when instead I forgot some system import, like
fs = require 'fs-plus', we could see proper error messages, complete with stack-trace.[-][Contributing][Core] apm tests fail on latest commit 9ff5fb2[/-][+]apm tests fail on latest commit 9ff5fb2[/+]lock commentedon Apr 4, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!