testng-team / testng

TestNG testing framework
https://testng.org
Apache License 2.0
1.99k stars 1.02k forks source link

Broken links #2449

Open Betlista opened 3 years ago

Betlista commented 3 years ago

TestNG Version

N/A

Actual behavior

There are several links that are not correct on https://testng.org/doc/ in

I started TestNG out of frustration for some JUnit deficiencies which I have documented on my weblog here and here Reading these entries might give you a better idea of the goal I am trying to achieve with TestNG. You can also check out a quick overview of the main features and an article describing a very concrete example where the combined use of several TestNG's features provides for a very intuitive and maintainable testing design.

  1. https://www.beust.com/weblog/2004/08/25/testsetup-and-evil-static-methods/
  2. https://www.beust.com/weblog/2004/02/08/junit-pain/
  3. https://www.beust.com/weblog/archives/000176.html
  4. https://www.beust.com/weblog/2004/08/18/using-annotation-inheritance-for-testing/

Expected behavior

Links works.

Except the 3rd, one can delete weblog/date part or leave the date part only, e.g. https://www.beust.com/2004/08/25/ or https://www.beust.com/testsetup-and-evil-static-methods/

juherr commented 3 years ago

IMO, the best links are without the date.

The 3rd link should be https://www.beust.com/announcing-testng-1-0/

The document is located at https://github.com/testng-team/testng-team.github.io Maybe you can make a pull request with the fixes there?

cbeust commented 3 years ago

I've had to make a few changes to my blog recently and I accidentally broke these links.

The safest way would be to copy these articles and move them under testng.org.

juherr commented 3 years ago

Broken links fixed on the documentation. Just need the deploy it.

@cbeust WDYT if all TestNG related posts are moved into the TestNG category and/or updated with the TestNG tag? It will be easier to find and save them under a section of the TestNG documentation. A quick search finds 12 pages but I'm not sure all posts are really related to TestNG (ie: Kobalt ones)

cbeust commented 3 years ago

Sure, I can tag these posts with "testng". Can you give me the links to posts that don't have the tag yet?

-- Cédric

On Mon, Jan 4, 2021 at 2:01 AM Julien Herr notifications@github.com wrote:

Broken links fixed on the documentation. Just need the deploy it.

@cbeust https://github.com/cbeust WDYT if all TestNG related posts are moved into the TestNG category and/or updated with the TestNG tag? It will be easier to find and save them under a section of the TestNG documentation. A quick search https://www.beust.com/page/12/?s=testng finds 12 pages but I'm not sure all posts are really related to TestNG (ie: Kobalt ones)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cbeust/testng/issues/2449#issuecomment-753879603, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAWRIVNQNLJITFG73DDOA3SYGGWTANCNFSM4VSDITMQ .

juherr commented 3 years ago

@cbeust If I'm right, it is only possible to extract posts from a category (and not from a tag)

I tried to list all posts without the expected category but almost all posts from https://www.beust.com/weblog/?s=testng are not in the expected category.