Uploaded image for project: 'Marmotta (Retired)'
  1. Marmotta (Retired)
  2. MARMOTTA-193

Offer better test logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Build Environment
    • None

    Description

      The tests currently offer bad logging messages. Each test should add a rule like

      final Logger logger =
      LoggerFactory.getLogger(PersistenceTest.class);

      @Rule
      public TestWatcher watchman = new TestWatcher() {
      /**

      • Invoked when a test is about to start
        */
        @Override
        protected void starting(Description description) {
        logger.info("{} being run...", description.getMethodName());
        }
        };

      Attachments

        Activity

          People

            wastl Sebastian Schaffert
            wastl Sebastian Schaffert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: