Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
christophkloeffel committed Oct 12, 2024
1 parent cad2a74 commit f7423d2
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ jobs:
make clang-tidy
- name: Run integration tests
run: |
make integration-tests && \
rm MODULE.bazel MODULE.bazel.lock
make integration-tests
- name: Check output files
if: always()
run: |
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ style:
@python3 -m pycodestyle lobster \
--exclude=assets.py

.PHONY: packages
packages:
git clean -xdf
make lobster/html/assets.py
Expand Down
12 changes: 12 additions & 0 deletions tests-integration/projects/basic/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cc_library(
name = "foofunc",
srcs = ["foo.h", "foo.cpp"]
)

cc_test(
name = "foo_test",
srcs = ["test.cpp"],
deps = ["@com_google_googletest//:gtest_main",
"foofunc",
"//support/gtest/include:lobster_gtest"]
)
24 changes: 24 additions & 0 deletions tests-integration/projects/basic/system-requirements.lobster
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"data": [
{
"tag" : "req 12345@42",
"kind" : "functional requirement",
"name" : "LOBSTER demo",
"text" : "Provide a nice demonstration of LOBSTER through four examples",
"framework" : "codebeamer",
"location": {
"kind" : "codebeamer",
"cb_root" : "https://potato.kitten",
"tracker" : 12345,
"item" : 666,
"version" : 42,
"name" : "LOBSTER demo"
},
"status" : "Potato",
"tags": []
}
],
"generator": "hand crafted",
"schema": "lobster-req-trace",
"version": 4
}

0 comments on commit f7423d2

Please sign in to comment.