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

Paramtest #1

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Paramtest #1

wants to merge 14 commits into from

Conversation

zhezhouzz
Copy link
Collaborator

Add Parameterized test.
Here is an example, under folder P-TestGeneration/Tst/TestParamTester/1_ClientServer:

# p compile
# p check

will show the following test cases:

.. Searching for a P compiled file locally in folder ./PGenerated/
.. Found a P compiled file: ./PGenerated/CSharp/net8.0/ClientServer.dll
.. Checking ./PGenerated/CSharp/net8.0/ClientServer.dll
Error: We found '20' test cases. Please provide a more precise name of the test case you wish to check using (--testcase | -tc).
Possible options are:
tcSingleClient
tcMultipleClients
tcAbstractServer
aaaa1__globalnumClients_0_global1_0_global2_0
aaaa1__globalnumClients_1_global1_0_global2_0
aaaa1__globalnumClients_2_global1_0_global2_0
aaaa1__globalnumClients_0_global1_1_global2_0
aaaa1__globalnumClients_1_global1_1_global2_0
aaaa1__globalnumClients_2_global1_1_global2_0
aaaa1__globalnumClients_0_global1_0_global2_1
aaaa1__globalnumClients_1_global1_0_global2_1
aaaa1__globalnumClients_2_global1_0_global2_1
aaaa1__globalnumClients_0_global1_1_global2_1
aaaa1__globalnumClients_1_global1_1_global2_1
aaaa1__globalnumClients_2_global1_1_global2_1
aaa2__globalnumClients_0
aaa3__globalnumClients_0_dummyGv_0
aaa3__globalnumClients_0_dummyGv_1
aaa4__globalnumClients_0_rich1_0_rich2_0
aaa4__globalnumClients_0_rich1_1_rich2_0

~~ [PTool]: Thanks for using P! ~~

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