Skip to content

Tests not running after 1st save (or 1st fail) #201

Description

@lalarsson87

Hi!
TLDR; tests won't run again anymore :(
Thanks for your awesome work! Sadly I bring thee a regression (previous -> #144, #149, #70, #154, #57).

As seen in the logs nothing happens after the first fail(in this case). It do seem to have something with watcher cycles? It's as if the test execution is forgotten.

.realize.yaml

settings:
    legacy:
        force: false
        interval: 0ms
server:
  status: true
  open: true
  port: 5002
  host: localhost
schema:
- name:api
  path: .
  commands:
    clean:
      status: true
    vet:
      status: true
      method: go vet ./...
    test:
      status: true
      method: go test ./...
    install:
      status: true
      method: dep ensure
  watcher:
    extensions:
    - go
    paths:
    - /src
    ignored_paths:
    - ./.git
    - ./.realize
    - ./vendor
    - ./node_modules
    - ./bin
    - ./.serverless

Logs:

[00:20:16][API] : Test there are some errors in : api/hello
2018/08/08 00:20:16 hello
--- FAIL: TestHandler (0.00s)
	main_test.go:14:
			Error Trace:	main_test.go:14
			Error:      	Not equal:
			            	expected: 3
			            	actual  : 0
			Test:       	TestHandler
FAIL
FAIL	api/src/hello	0.016s
exit status 1
[00:20:16][API] : Watching 4 file/s 3 folder/s
[00:20:16][API] : Install started
[00:20:17][API] : Install completed in 0.341 s
[00:20:17][API] : Build started
[00:20:18][API] : Build completed in 1.617 s
[00:20:20][API] : GO changed api/src/world/main_test.go
[00:20:20][API] : Install started
[00:20:21][API] : Install completed in 0.455 s
[00:20:21][API] : Build started
[00:20:22][API] : Build completed in 1.725 s

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions