View source: R/benchmark_cypress.R
run_cypress_ptest | R Documentation |
Run the performance test based on a single commit using Cypress
run_cypress_ptest( commit, project_path, cypress_dir, tests_pattern, use_renv, renv_prompt, n_rep, debug )
commit |
A commit hash code or a branch's name |
project_path |
The path to the project with all needed packages installed |
cypress_dir |
The directory with tests recorded by Cypress |
tests_pattern |
Cypress files pattern. E.g. 'performance'. If it is NULL, all the content will be used |
use_renv |
In case it is set as TRUE, package will try to apply renv::restore() in all branches. Otherwise, the current loaded list of packages will be used in all branches. |
renv_prompt |
Prompt the user before taking any action? |
n_rep |
Number of replications desired |
debug |
Logical. TRUE to display all the system messages on runtime |
Return a data.frame
with the collected performance time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.