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

Cover more of Alsatian with Integration Tests #183

Open
30 tasks
jamesadarich opened this issue Oct 16, 2016 · 3 comments
Open
30 tasks

Cover more of Alsatian with Integration Tests #183

jamesadarich opened this issue Oct 16, 2016 · 3 comments

Comments

@jamesadarich
Copy link
Member

Create more integration tests to support the unit tests with a more functional focus

CLI

Process DEFAULT (will need to confirm better when default implemented as to whether this will work):

  • Run tests from spawn process
  • as calls are made concatenate them together
  • compare against file containing a line by line update as should happen

Process TAP:

  • Run tests from spawn process
  • as calls are made concatenate them together
  • compare against entire file

Key
D - Default
T - TAP
R - Node returned Report

Areas to check

  • fail (D/T)
  • pass (D/T)
  • test names, numbers and arguments (D/T)
  • assertions (D/T)
  • count (D/T)
  • error (D/T)
  • headers (T)
  • exit code (D/T)
  • summary (D)
  • fail details (D)

Node

Similar to the CLI the output stream will need to be checked because this should still be the same, ontop of this will need to interrogate the results returned by the TestRunner

Gulp

Areas to check

  • pass (D/T/R) - expectations test set - separate out into passing and failing fail/to-be.spec.ts or to-be.fail.spec.ts
  • count (D/T/R) - test number test sets (min 3)
  • fail (D/T/R) - expectations test set
  • error (D/T/R) - error test sets (min 3)
  • headers (T) - TAP specific test (expectations test set)
  • test names, numbers and arguments (D/T) - expectations test set / test number test sets
  • assertions (D/T) - expectations test set
  • exit code (D/T) - simple pass, fail, error test sets
  • summary (D) - all test sets
  • fail details (D) - all failing test sets

Native

Areas to check

  • pass (D/T/R)
  • count (D/T/R)
  • fail (D/T/R)
  • error (D/T/R)
  • headers (T)
  • test names, numbers and arguments (D/T)
  • assertions (D/T)
  • exit code (D/T)
  • summary (D)
  • fail details (D)
@jamesadarich jamesadarich added this to the beta.2 milestone Oct 16, 2016
@jamesadarich
Copy link
Member Author

closed by #182

@jamesadarich
Copy link
Member Author

closed wrong issue should have been #114 (reopening)

@jamesadarich jamesadarich reopened this Oct 16, 2016
@jamesadarich jamesadarich modified the milestones: beta.2, beta.3, rc.0 Nov 3, 2016
@jamesadarich
Copy link
Member Author

Also include TypeScript builds

@jamesadarich jamesadarich modified the milestones: 1.0.1, rc.0 Dec 14, 2016
@jamesadarich jamesadarich modified the milestones: 1.0.1, 1.4.0 Jan 3, 2017
@jamesadarich jamesadarich modified the milestones: 1.4.0, 1.6.0 May 10, 2017
@jamesadarich jamesadarich removed this from the 2.2.0 milestone Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant