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
1 change: 1 addition & 0 deletions changelog/3998.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added a message showing the location where the failed stories file was saved.
4 changes: 4 additions & 0 deletions rasa/cli/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
)
import rasa.shared.utils.validation as validation_utils
import rasa.cli.utils
from rasa.shared.utils.cli import print_info
from rasa.core.test import FAILED_STORIES_FILE

logger = logging.getLogger(__name__)

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

print_info("Failed stories written to {}/{}".format(output, FAILED_STORIES_FILE))


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