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

add seq/par and hook #83

Merged
merged 39 commits into from
Mar 20, 2019
Merged

add seq/par and hook #83

merged 39 commits into from
Mar 20, 2019

Commits on Jan 10, 2019

  1. add seq/par

    safareli committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    4e06727 View commit details
    Browse the repository at this point in the history
  2. add hoist and example/tests

    safareli committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    daf6b33 View commit details
    Browse the repository at this point in the history
  3. restore handwritten show/eq instances

    the reason is that using generic instance results in:
    
    ```
    /dev/purescript-spec/output/Data.Generic.Rep.Show/index.js:13
    var GenericShowArgs = function (genericShowArgs) {
                                   ^
    
    RangeError: Maximum call stack size exceeded
        at new GenericShowArgs (/dev/purescript-spec/output/Data.Generic.Rep.Show/index.js:13:32)
        at Object.genericShowArgsArgument (/dev/purescript-spec/output/Data.Generic.Rep.Show/index.js:20:12)
        at showGroup (/dev/purescript-spec/output/Test.Spec/index.js:241:228)
        at showGroup (/dev/purescript-spec/output/Test.Spec/index.js:241:456)
    ```
    safareli committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    ed1e0bf View commit details
    Browse the repository at this point in the history
  4. revert whitespace

    safareli committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    47605c5 View commit details
    Browse the repository at this point in the history
  5. add docs for parallel

    safareli committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    37e278b View commit details
    Browse the repository at this point in the history
  6. src compiles

    safareli committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    0681a83 View commit details
    Browse the repository at this point in the history
  7. add hoist and some cleanup

    safareli committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    114f8bb View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2019

  1. moved Aff tests into Predicates

    as they are not Aff specific any more
    safareli committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    2ad5c0c View commit details
    Browse the repository at this point in the history
  2. add Path to Runner.Events

    now consoleReporter and specReporter need to coordinate tests which are running in parallel
    safareli committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    b356736 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2019

  1. Configuration menu
    Copy the full SHA
    12168c8 View commit details
    Browse the repository at this point in the history
  2. some cleanup

    safareli committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    ec4bda6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1232a9a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1459670 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e1df5dd View commit details
    Browse the repository at this point in the history
  6. optimize redraw

    safareli committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    f433b4d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8ae1a00 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2019

  1. optimize redraw

    safareli committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    58d4f9e View commit details
    Browse the repository at this point in the history
  2. no redraw

    only log things to console when execution of test is finished so we don't need to do redraw
    safareli committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    d22706f View commit details
    Browse the repository at this point in the history
  3. refactor styling

    safareli committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    6baa794 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d6bcba2 View commit details
    Browse the repository at this point in the history
  5. use List instead of Array

    safareli committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    51d385a View commit details
    Browse the repository at this point in the history
  6. move indent to Style

    safareli committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    66b67e6 View commit details
    Browse the repository at this point in the history
  7. remove defaultUpdate

    safareli committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    94a08ec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f6746aa View commit details
    Browse the repository at this point in the history
  9. extract parallelSpec

    safareli committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    395b4b2 View commit details
    Browse the repository at this point in the history
  10. comment failing tests

    safareli committed Jan 15, 2019
    Configuration menu
    Copy the full SHA
    3d71414 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2019

  1. Configuration menu
    Copy the full SHA
    30d68f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00f8589 View commit details
    Browse the repository at this point in the history
  3. update Reporter exports

    safareli committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    239491b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4bf23d7 View commit details
    Browse the repository at this point in the history
  5. remove reduce run,run',runSpec,runSpec' to just runSpec and runSpecM

    with `exit: false` and you can get test results
    with `[]` as reporters you can get no reporting
    so removed runSpec,runSpec' and renamed run,run' to runSpec and runSpecM
    safareli committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    2884c0c View commit details
    Browse the repository at this point in the history
  6. remove extra ()

    safareli committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    21f2a98 View commit details
    Browse the repository at this point in the history
  7. fix warning

    safareli committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    4cbccc2 View commit details
    Browse the repository at this point in the history
  8. use newtype instead of type alias to get better type derivation

    for example here all types are derived by compiler:
    ```
    foo :: forall t19. Monad t19 => SpecT Aff Unit t19 Unit
    foo = it "foo" $ delay $ Milliseconds 100.0
    
    baz :: forall t17 t18 t19. Monad t19 => SpecT t18 t17 t19 Unit
    baz = describe "baz" $ pure unit
    
    fix :: forall t18 t19. Monad t19 => MonadThrow Error t18 => SpecT t18 Unit t19 Unit
    fix = it "fiz" $ 1 `shouldEqual` 1
    ```
    vs beofre you would get huge `WriterT ...` type.
    safareli committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    14f5edc View commit details
    Browse the repository at this point in the history
  9. some documentation updates

    safareli committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    708bc0e View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2019

  1. restore run with warning

    safareli committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    375b9d7 View commit details
    Browse the repository at this point in the history
  2. add collect

    safareli committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    c3780f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d50c9c View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. fix warning

    safareli committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    85c503f View commit details
    Browse the repository at this point in the history