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

Conversation

Henrike100
Copy link
Collaborator

@Henrike100 Henrike100 commented Sep 20, 2020

Proposed changes:

Default path (results)
img1

User specified path
img2

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

Copy link
Collaborator

@arthurTemporim arthurTemporim left a comment

Choose a reason for hiding this comment

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

Good start!

rasa/cli/test.py Outdated
@@ -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.

@arthurTemporim
Copy link
Collaborator

Please, run the command black . your code have a lint issue

@arthurTemporim
Copy link
Collaborator

I think for this contribution changing documentation will not be needed, but update the changelog file, see how other lines is made to follow the pattern.

@Henrike100
Copy link
Collaborator Author

I made the changes you asked for. Please check if it is correct and if anything else is missing.

Copy link
Collaborator

@arthurTemporim arthurTemporim left a comment

Choose a reason for hiding this comment

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

Apeears to be fine to me :D

@coveralls
Copy link

coveralls commented Oct 28, 2020

Pull Request Test Coverage Report for Build 335845507

  • 20 of 20 (100.0%) changed or added relevant lines in 4 files are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.02%) to 86.212%

Files with Coverage Reduction New Missed Lines %
rasa/core/run.py 1 88.39%
rasa/telemetry.py 2 87.21%
Totals Coverage Status
Change from base Build 332399642: 0.02%
Covered Lines: 20208
Relevant Lines: 23440

💛 - Coveralls

@Henrike100 Henrike100 closed this Dec 3, 2020
RomuloSouza pushed a commit that referenced this pull request Dec 7, 2020
* backport fix

* backport pika fix

* pika fix backport

* fix tests

* test fixes

* remove logger statement

* Updated version of PikaMessageProcessor from the source branch

* Small bugfix

* changelog

* prepared release of version 1.10.16

* Update CHANGELOG.rst

Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com>

* add robots.txt and redirection headers

* bump rasabaster version

* Fix Pika multiprocessing for 1.10.x

* Reformatting

* Changelog entry

* Updated tests

* is_ready method is back

* uninstall cached pydocstyle

* also uninstall pydocstyle

* uninstall in poetry env

* Removing f-string

* NoReturn -> None

* prepared release of version 1.10.17

* Fix incorrect attribute for key prefix in RedisTrackerStore

Fix RasaHQ#7306

* Add changelog entry

* Remove the set-env command - 1.10.x (RasaHQ#7367)

* Fix DynamoDB TrackerStore (RasaHQ#7340)

* attempting to fix dynamo

* fixed

* fixed import

* applied some more fixes

* added deprecation warning for DynamoDB tracker store attribute

* added changelog description for PR 7340

* fix formatting

Co-authored-by: Tom Bocklisch <tom@rasa.com>

* prepared release of version 1.10.18 (RasaHQ#7381)

* Update docstrings

* Update CHANGELOG.mdx

* line length fix

* Add print to confirm that the failed_test_stories.yml has been saved (RasaHQ#6793)

* Add print to confirm that the failed_test_stories.yml has been saved (RasaHQ#3998)

Co-authored-by: Henrike100 <henrikem100@gmail.com>

* Change the way to show the file name

* files formatted with black

* add changelog

* Update test core

* Formatted with black

* Update print

Co-authored-by: mbslet <lmbs.geo@gmail.com>

* Amend response schema to support missing top-level keys (RasaHQ#7232)

* amend response schema to support missing top level keys

* changelog entry

* download mitie from github instead of s3 (RasaHQ#7434)

Co-authored-by: melindaloubser1 <melinda.loubser@gmail.com>
Co-authored-by: alwx <alwxndr@gmail.com>
Co-authored-by: Roberto <43567378+rasabot@users.noreply.github.com>
Co-authored-by: Melinda Loubser <32034278+melindaloubser1@users.noreply.github.com>
Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com>
Co-authored-by: m-vdb <m.verger@rasa.com>
Co-authored-by: Tobias Wochinger <t.wochinger@rasa.com>
Co-authored-by: Duc-Minh Phan <alephvn@gmail.com>
Co-authored-by: Federico Tedin <federicotdn@users.noreply.github.com>
Co-authored-by: Tomasz Czekajlo <t.czekajlo@rasa.com>
Co-authored-by: Tom Herold <tom.herold@scalableminds.com>
Co-authored-by: Tom Bocklisch <tom@rasa.com>
Co-authored-by: Henrique Martins <henrikem100@gmail.com>
Co-authored-by: mbslet <lmbs.geo@gmail.com>
Co-authored-by: pheel <philippe@mrbot.ai>
@iurisevero iurisevero deleted the failed-storie-message branch February 21, 2021 03:43
RochaCarla pushed a commit that referenced this pull request Nov 17, 2022
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.

4 participants