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

Release060 #10

Merged
merged 63 commits into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
7e8982a
[060] test collection reworked. hooks work reworked TODO: fix async
Jun 1, 2022
2df5e90
[060] fix version
Jun 1, 2022
fa2b427
[060] fix async. TODO: fix AfterAll
Jun 1, 2022
91a8b73
[060] fixed all async hooks
Jun 1, 2022
5ef3129
[060] remove commented code
Jun 1, 2022
3394f51
[060] remove commented code
Jun 1, 2022
babf227
[060] update testify version
Jun 1, 2022
4bed8fa
[060] update allure version to v0.6.0
Jun 1, 2022
13ec291
[060] lint fixes
Jun 1, 2022
ca2b875
[060] dependencies update
Jun 1, 2022
e955b37
[060] test plan fix
Jun 2, 2022
5652bde
[061] update framework version
Jun 2, 2022
2f1e5ac
[062] fix test plan filter
Jun 2, 2022
1784686
[062] update version
Jun 2, 2022
7208d18
[063] fix of id type
Jun 2, 2022
4483031
[063] update framework version
Jun 2, 2022
719a490
[064] fix npe with TestPlan
Jun 2, 2022
f4d1662
[065] fix Suite Tests filtering with TestPlan
Jun 2, 2022
f7c722c
[065] update framework version
Jun 2, 2022
8bd727d
[066] hard parallel fix
Jun 3, 2022
15392e9
[066] fix package naming for internal suites
Jun 3, 2022
44700d5
[066] GetTestPlan() now calls only once
Jun 3, 2022
90b7e19
[066] update framework version
Jun 3, 2022
44fb09e
[v067] add windows support for make demo
koodeex Jun 6, 2022
c1ff844
[v067] add windows and linux support for make install
koodeex Jun 6, 2022
09b909e
[v067] add exit suite run if no tests in filter
koodeex Jun 6, 2022
2b8e090
[v067] fix relative path support for test plan feature
koodeex Jun 6, 2022
b2d8b9b
[v068] fix relative path support for test plan feature
koodeex Jun 8, 2022
de7b6b1
[v069] fix relative path support for test plan feature
koodeex Jun 8, 2022
72f49e4
[v068] fix relative path support for test plan feature
koodeex Jun 8, 2022
e14ff69
[0610] fix tests and suites naming
Jul 4, 2022
95a560c
[0610] add TB.Fatal and TB.Fatalf support
Jul 4, 2022
5832f20
[0610] add mixed async example
Jul 4, 2022
059f428
[0610] update framework version
Jul 4, 2022
9a6ebb1
[0611] fix lint and tests
Jul 4, 2022
6baaa2d
[0611] fix lint
Jul 4, 2022
29214d2
[0611] fix make run (now make examples always return true)
Jul 4, 2022
374c1cd
[0611] create README_new.md
Jul 4, 2022
18bce53
[0611] add examples
Jul 4, 2022
dd49f0c
[0611] remove README_old.md
Jul 4, 2022
d203d85
[0611] README.md update
Jul 4, 2022
2503e63
[0611] README.md update
Jul 4, 2022
d7c914d
[0611] add Name, Fail, FailNow and Skipf support due [ISSUE-11]
Jul 4, 2022
15b273e
[0611] Name() fix
Jul 4, 2022
e3a2a01
[0611] naming fix
Jul 4, 2022
22d0642
[0611] StepCtx failNow will fail step now before finishing.
Jul 5, 2022
a1ffed4
[0611] README.md update
Jul 5, 2022
7c3f6dc
[0611] README.md update
Jul 5, 2022
a265406
[0611] README.md update
Jul 5, 2022
021b929
[0611] README.md update
Jul 5, 2022
32d526d
[0611] README.md update
Jul 5, 2022
306a2ac
[0611] README.md update
Jul 5, 2022
1d63799
[0611] README.md update
Jul 5, 2022
5d62e6d
[0611] Now testplan will notify if it will found testplan.json (inste…
Jul 6, 2022
38e9b65
[0611] Fixed tagging in mixed_test example
Jul 6, 2022
6c9f6b9
[0611] Fixed update README.md and description of some comments
Jul 6, 2022
94141f3
[0611] add async test example
Jul 6, 2022
84b77e5
[0611] BeforeAll panic case fix
Jul 6, 2022
01879b3
[0611] Commented line remove
Jul 6, 2022
b5db445
Merge branch 'master' into release060
Jul 6, 2022
114eada
[0611] allure version update
Jul 6, 2022
906af99
[0611] remove examples lint
Jul 6, 2022
674b1c0
[0611] update dependencies
Jul 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
run: cd ./pkg/allure && make lint
- name: provider-golangci-lint
run: cd ./pkg/framework && make lint
- name: examples-golangci-lint
run: make lint

test:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .resources/allure_go_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions .resources/allure_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .resources/example_async_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 35 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
APP?=allure-go
RELEASE?=0.5.8
RELEASE?=0.6.0
GOOS?=darwin

COMMIT?=$(shell git rev-parse --short HEAD)
Expand All @@ -8,6 +8,7 @@ BUILD_TIME?=$(shell date -u '+%Y-%m-%d_%H:%M:%S')
export GO111MODULE=on
export GOSUMDB=off
LOCAL_BIN:=$(CURDIR)/bin
EXAMPLES_TAGS:=examples_new,provider_new,allure_go_new,async

##################### GOLANG-CI RELATED CHECKS #####################
# Check global GOLANGCI-LINT
Expand Down Expand Up @@ -48,12 +49,41 @@ full-demo: install demo
demo: examples allure-serve

.PHONY: install
install:
go mod tidy && go mod download && brew install allure
install: .install_deps .install_allure

.PHONY: .install_deps
.install_deps:
go mod tidy && go mod download

.PHONY: .install_allure
.install_allure:
ifeq ($(OS),Windows_NT)
$(info Run Windows run pattern...)
$(info Make sure scoop installed at your system. Check for more information: https://github.com/ScoopInstaller/Scoop#installation)
scoop install allure
endif
ifeq ($(OS),Linux)
$(info Run Linux run pattern...)
$(info Make sure you have sudo rights for the system.)
sudo apt-add-repository ppa:qameta/allure
sudo apt-get update
sudo apt-get install allure
endif
ifeq ($(OS),Darwin)
$(info Run installation for Darwin OS)
$(info Make sure brew installed at your system. Check for more information: https://docs.brew.sh/Installation)
brew install allure
endif

.PHONY: examples
examples:
- export ALLURE_OUTPUT_PATH=../ && go test ./examples/... --tags=examples_new,provider_new,allure_go_new,async
ifeq ($(OS),Windows_NT)
$(info Run windows pattern...)
set ALLURE_OUTPUT_PATH=../&& go test ./examples/... --tags=$(EXAMPLES_TAGS)
else
$(info Run default pattern...)
export ALLURE_OUTPUT_PATH=../ && go test ./examples/... --tags=$(EXAMPLES_TAGS) || true
endif

.PHONY: allure-serve
allure-serve:
Expand All @@ -62,8 +92,7 @@ allure-serve:
# run full lint like in pipeline
.PHONY: lint
lint: install-lint
$(GOLANGCI_BIN) run --config=.golangci.yaml ./... --build-tags=examples_new,provider_new,allure_go_new,async

$(GOLANGCI_BIN) run --config=.golangci.yaml ./... --build-tags=$(EXAMPLES_TAGS)

.PHONY: install-lint
install-lint:
Expand Down
Loading