With FlowTestAI CLI, you can now run your end to end flows, constructed using FlowTestAI, directly from command line.
This makes it easier to run your tests in different environments, automate your testing process, and integrate your tests with your continuous integration and deployment workflows.
To install the FlowTestAI CLI, use the node package manager of your choice, such as NPM:
npm install -g flowtestai
Navigate to the root directory of your collection, and then run:
flow run help
This command will give you various options you can use to run a flow. You can also run a single flow by specifying its filename with the --file
or -f
option:
flow run -f test.flow
Or run a requests inside a subfolder:
flow run -f folder/subfolder/test.flow
If you need to use an environment, you can specify it with the --env
or -e
option:
flow run -f test.flow -e environments/test.env
If you need to publish the results of your flow runs for further analysis, you can specify the -s
option. Request your access key pairs from https://flowtest-ai.vercel.app/ and then run export $FLOWTEST_ACCESS_ID and $FLOWTEST_ACCESS_KEY before publishing:
flow run -f test.flow -e environments/test.env -s
If you encounter any issues or have any feedback or suggestions, please raise them on our GitHub repository
Thank you for using FlowTestAI CLI!