Skip to content

Commit

Permalink
Execute tools at the end of each test case
Browse files Browse the repository at this point in the history
  • Loading branch information
gayaldassanayake committed Feb 2, 2024
1 parent 84e1233 commit 4224a9e
Show file tree
Hide file tree
Showing 8 changed files with 264 additions and 100 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ group=org.ballerinalang
version=2201.9.0-SNAPSHOT
codeName=swan-lake

ballerinaLangVersion=2201.9.0-20240120-003700-f65e7994
ballerinaLangVersion=2201.9.0-20240201-152800-3c3df044
ballerinaJreVersion=2.0.0
dependencyJREVersion=jdk-17.0.7+7-jre
specVersion=2023R1
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ COMMANDS
format Format Ballerina source files
grpc Generate the Ballerina sources for a given Protocol
Buffer definition
graphql Generate the Ballerina client sources for a GraphQL config file,
generate the GraphQL schema for a Ballerina GraphQL service, and
generate the Ballerina GraphQL service for a GraphQL schema
graphql Generate the Ballerina client sources for a GraphQL config file, the GraphQL schema for a GraphQL service, and Ballerina service sources for a GraphQL schema
openapi Generate the Ballerina sources for a given OpenAPI
definition and vice versa
asyncapi Generate the Ballerina sources for a given AsyncAPI definition
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Sample tool used for testing the bal tools in ballerina distribution tests.
bal disttest <arg1>

--args--
<arg1>
The argument to be printed.

version: 1.0.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ballerina: unknown command 'disttest2'
Run 'bal help' for usage.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ballerina: unknown command 'disttest'
Run 'bal help' for usage.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
|TOOL ID |VERSION |
|----------------------|----------------|
|disttest | 1.1.0 |
|disttest |* 1.0.0 |
|TOOL ID |VERSION |REPO |
|----------------------|----------------|-----------|
|disttest | 1.1.0 |central |
|disttest |* 1.0.0 |central |

0 comments on commit 4224a9e

Please sign in to comment.