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

Add print to confirm that the failed_test_stories.yml has been saved #1

Closed
wants to merge 14 commits into from
Closed
2 changes: 2 additions & 0 deletions rasa/cli/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
)
import rasa.shared.utils.validation as validation_utils
import rasa.cli.utils
from rasa.shared.utils.cli import print_info

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -101,6 +102,7 @@ def run_core_test(args: argparse.Namespace) -> None:
else:
test_core_models(args.model, stories, output)

print_info("Failed stories written to " + output + "/failed_test_stories.yml")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there another way to get failed_test_stories.yml value? placing the name by hand is not a good idea because if the file changes will be needed to change this log by hand.


def run_nlu_test(args: argparse.Namespace) -> None:
"""Run NLU tests."""
Expand Down