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

UIP-1903 Run unit tests in dart2js on CI #28

Merged
merged 2 commits into from
Jan 6, 2017

Conversation

greglittlefield-wf
Copy link
Contributor

@greglittlefield-wf greglittlefield-wf commented Nov 9, 2016

Ultimate problem:

dart2js-compiled code that deals with JS interop doesn't always behave the same as native Dart code.

We should be running unit tests in dart2js.

How it was fixed:

  • Fix MirrorsUsed typo in test, for proper dart2js compilation
  • Run dart2js tests on Travis
  • Run dart2js tests on Smithy in Firefox
    • Focus-related tests fail in Firefox on CI. Attempts to tweak xvfb config or set the focusmanager.testmode user preference proved fruitless
  • Run dart2js tests on Smithy in Chrome
    • Chrome wouldn't install properly in the Docker build, and debugging that wasn't going anywhere...
  • Run dart2js tests on Smithy using Chromium (already installed)

Testing suggestions:

  • Verify that Smithy build succeeds, and that tests are run in dart2js

Potential areas of regression:

Smithy build


FYA: @greglittlefield-wf @aaronlademann-wf @jacehensley-wf @clairesarsam-wf @joelleibow-wf

@aviary-wf
Copy link

Raven

Number of Findings: 0

@greglittlefield-wf greglittlefield-wf changed the title Run unit tests in dart2js (Chrome) Run unit tests in dart2js on Travis Nov 9, 2016
@greglittlefield-wf
Copy link
Contributor Author

The issue may be with Firefox on Travis... Will try Chromium tomorrow

@codecov-io
Copy link

codecov-io commented Nov 9, 2016

Current coverage is 97.44% (diff: 100%)

Merging #28 into master will not change coverage

@@             master        #28   diff @@
==========================================
  Files            27         27          
  Lines          1286       1286          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1253       1253          
  Misses           33         33          
  Partials          0          0          

Sunburst

Powered by Codecov. Last update b533cd2...ab356ca

@greglittlefield-wf greglittlefield-wf changed the title Run unit tests in dart2js on Travis Run unit tests in dart2js on CI Dec 30, 2016
Copy link
Contributor

@aaronlademann-wf aaronlademann-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@aaronlademann-wf
Copy link
Contributor

+1 for @rmconsole-wf

@jacehensley-wf
Copy link
Contributor

+1

@rmconsole-wf rmconsole-wf changed the title Run unit tests in dart2js on CI UIP-1903 Run unit tests in dart2js on CI Jan 5, 2017
@leviwith-wf
Copy link
Contributor

QA Resource Approval: +10

  • tests run/smithy completes successfully

  • Testing instruction
  • Dev +1's
  • Dev/QA +10
  • All unit tests pass

@leviwith-wf leviwith-wf merged commit 2742bac into Workiva:master Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants