Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2410

Unit test for jsoup-extractor not to depend on external resources

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Auto Closed
    • 2.4
    • 2.5
    • None
    • None

    Description

      The unit test of the plugin jsoup-extractor depends on a document hosted on youtube.com:

        private static final String SAMPLE_URL = "https://www.youtube.com/watch?v=pzMpwW4ppRM";
      

      It's nice to test the plugin on real-world example. However, the tests will fail without internet connection or unexpectedly when youtube changes the HTML layout.

      Attachments

        Activity

          People

            Unassigned Unassigned
            snagel Sebastian Nagel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: