Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

apm tests fail on latest commit 9ff5fb2 #11543

Closed

Description

@BrainCrumbz

Description

After synching source repository to latest commit and building Atom from scratch, running tests on Atom core fails.

Steps to Reproduce

  1. Move to root directory in Atom source repository
  2. Sync local repo with atom remote one
  3. Build Atom from scratch
  4. Run apm test from repository root

Expected behavior:
Tests should all pass:

  • console should show only dots (.), no Fs,
  • 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 --version shows no output
  • Atom version from Help\About menu: 1.9.0-dev-9ff5fb2
  • apm --version shows:
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

  1. winstliu commented on Apr 20, 2016

    @winstliu
    Contributor

    Specs currently only pass on Mac. @damieng is working on getting them to pass on Windows though.

  2. added
    windows
    on Apr 20, 2016
  3. damieng commented on Apr 20, 2016

    @damieng
    Contributor

    #11488 is the first batch of fixes. Feel free to jump in!

  4. BrainCrumbz commented on Apr 20, 2016

    @BrainCrumbz
    ContributorAuthor

    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.

  5. BrainCrumbz commented on Apr 20, 2016

    @BrainCrumbz
    ContributorAuthor

    Two questions:

    1. should we close this? (I vote for Yes)
    2. are there any more info on Windows failing specs? I could not find any in that PR thread
  6. damieng commented on Apr 20, 2016

    @damieng
    Contributor

    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...

  7. BrainCrumbz commented on Apr 21, 2016

    @BrainCrumbz
    ContributorAuthor

    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:

    #system32Path = path.join(process.env.SystemRoot, 'System32') # forgot to add this one
    regPath = path.join(system32Path, 'reg.exe')

    That mistake was enough to have apm test showing absolutely no test progress indicators and only Tests failed message:

    D:\atom>apm test
    Tests failed

    In 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.

  8. changed the title [-][Contributing][Core] apm tests fail on latest commit 9ff5fb2[/-] [+]apm tests fail on latest commit 9ff5fb2[/+] on Apr 21, 2016
  9. lock commented on Apr 4, 2018

    @lock

    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!

  10. locked and limited conversation to collaborators on Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions