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

[ISSUE-35] add internal log management #69

Merged
merged 7 commits into from
Mar 30, 2024
Merged

[ISSUE-35] add internal log management #69

merged 7 commits into from
Mar 30, 2024

Conversation

siller174
Copy link
Collaborator

@siller174 siller174 commented Mar 16, 2024

FAIL    github.com/ozontech/cute/examples       10.668s
--- FAIL: TestExampleSuite (5.21s)
    --- FAIL: TestExampleSuite/ExampleSuite (5.21s)
        --- FAIL: TestExampleSuite/ExampleSuite/Tests (0.00s)
            --- FAIL: TestExampleSuite/ExampleSuite/Tests/Test_OneStep_Errors (0.21s)
                logger.go:32: [Test_OneStep_Errors][INFO] Start test
                logger.go:32: [Test_OneStep_Errors][INFO] Start step Example GET json request
                logger.go:32: [Test_OneStep_Errors][INFO] Start make request
                logger.go:32: [Test_OneStep_Errors][INFO] [Request] curl -k -X 'GET' -d '{"key":"value","more_key":{"some_value":"sss"}}' -H 'some_array_header: 1 2 3 some_thing' -H 'some_header: something' 'https://jsonplaceholder.typicode.com//posts/1/comments'
                logger.go:32: [Test_OneStep_Errors][INFO] [Response] Status: 200 OK
                logger.go:32: [Test_OneStep_Errors][INFO] Finish make request
                logger.go:32: [Test_OneStep_Errors][INFO] Finish step Example GET json request
                logger.go:42: [Test_OneStep_Errors][ERROR] Error example custom assert
                    Called from: /Users/smakarov/github/cute/examples/suite/one_step_errors.go:63
                    actual empty
                    expected not empty
                logger.go:42: [Test_OneStep_Errors][ERROR] Error on path $[0].email. expect something, but actual Eliseo@gardner.biz
                    Called from: /Users/smakarov/github/cute/examples/suite/one_step_errors.go:45
                    actual Eliseo@gardner.biz
                    expected something
                logger.go:42: [Test_OneStep_Errors][ERROR] Error on path $[1].not_present. value not present
                    Called from: /Users/smakarov/github/cute/examples/suite/one_step_errors.go:45
                logger.go:42: [Test_OneStep_Errors][ERROR] Error on path $. 5 is greater than 99999
                    Called from: /Users/smakarov/github/cute/examples/suite/one_step_errors.go:45
                    actual 5
                    expected 99999
                logger.go:42: [Test_OneStep_Errors][ERROR] Error on path $. expect lenght 0, but actual 5
                    Called from: /Users/smakarov/github/cute/examples/suite/one_step_errors.go:45
                    actual 5
                    expected 0
                logger.go:32: [Test_OneStep_Errors][INFO] [OPTIONAL ERROR] some optional error from OptionalAssert
                    Called from: /Users/smakarov/github/cute/examples/suite/one_step_errors.go:70
                logger.go:32: [Test_OneStep_Errors][INFO] [OPTIONAL ERROR] some optional error from creator
                    Called from: /Users/smakarov/github/cute/examples/suite/one_step_errors.go:75
                logger.go:42: [Test_OneStep_Errors][ERROR] Test finished with 5 errors
                logger.go:42: [Test_OneStep_Errors][ERROR] Test failed
FAIL
FAIL    github.com/ozontech/cute/examples/suite 6.572s

@siller174 siller174 mentioned this pull request Mar 16, 2024
@siller174 siller174 marked this pull request as ready for review March 30, 2024 22:56
@siller174 siller174 merged commit 9389b60 into master Mar 30, 2024
3 checks passed
@siller174 siller174 deleted the issue-35 branch April 2, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant