Answers.Body: <p>As an author of some PGN-processing software, I would also be interested in having access to a general test suite but I am not aware of any, unfortunately, and all I can offer is some advice based on experience.</p>
  
  <p>I would be wary of throwing a large database of games at an application in order to test it before you have developed reasonable confidence with its fundamentals. In the early stages, at least, I find it most effective to create a lot of small examples, each of which tests an individual feature. That way, errors are relatively easy to spot because they don't get lost in a mass of output. Once I have got rid of the basic errors I would then look at combining a small number of both related and unrelated features in individual tests to make sure that there is no unexpected interference between the associated functionality. Only late on would I switch to large datasets to make sure there are no issues with scaling up.</p>
  
  <p>I also highly recommend re-running all the existing tests each time a new feature is added. I have been amazed how often I have unexpectedly broken something seemingly unrelated as the code has developed.</p>
  
  <p>Apologies if these principles are already well known to you!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-21T15:45:03.163Z
Answers.LastActivityDate: 2017-07-21T15:45:03.163Z
Answers.UserDisplayName: kentdjb
Answers.Body: <p><a href="http://www.chessgames.com" rel="nofollow noreferrer">http://www.chessgames.com</a> might be a good place.</p>
  
  <p>Another one is <a href="http://www.top-5000.nl/pgn.htm" rel="nofollow noreferrer">http://www.top-5000.nl/pgn.htm</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-16T09:22:50.467Z
Answers.LastActivityDate: 2017-07-16T09:22:50.467Z
Answers.UserDisplayName: Bee
Body: <p>I'm interested to test that the atom syntax highlighter for pgn files -- <a href="https://atom.io/packages/language-pgn" rel="nofollow noreferrer">https://atom.io/packages/language-pgn</a> -- can handle the full range of possible files.  Is there a suite of difficult test files somewhere?  </p>
  
  <p>Also related might be this question:</p>
  
  <p><a href="https://chess.stackexchange.com/questions/15575/what-are-all-of-the-possible-tags-for-pgn">What are all of the possible tags for PGN?</a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-19T09:56:56.123Z
Comments.Text: https://chess.stackexchange.com/questions/18046/what-are-the-biggest-free-chess-databases-is-it-legal-to-download-games-from-th
Comments.UserDisplayName: Superluminal
Tags: <pgn>
Title: Where can I find a whole bunch of complicated PGN files?
ThreadText: # Where can I find a whole bunch of complicated PGN files?
  
  (Asked by: username_0 on 2017-07-16)
  
  I'm interested to test that the atom syntax highlighter for pgn files -- <https://atom.io/packages/language-pgn> -- can handle the full range of possible files. Is there a suite of difficult test files somewhere?
  
  Also related might be this question:
  
  [What are all of the possible tags for PGN?](https://chess.stackexchange.com/questions/15575/what-are-all-of-the-possible-tags-for-pgn)
  
  **Tags:** pgn
  
  > **Comments:**
  > **username_1**: https://chess.stackexchange.com/questions/18046/what-are-the-biggest-free-chess-databases-is-it-legal-to-download-games-from-th  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-07-21. Score: 2
  
  As an author of some PGN-processing software, I would also be interested in having access to a general test suite but I am not aware of any, unfortunately, and all I can offer is some advice based on experience.
  
  I would be wary of throwing a large database of games at an application in order to test it before you have developed reasonable confidence with its fundamentals. In the early stages, at least, I find it most effective to create a lot of small examples, each of which tests an individual feature. That way, errors are relatively easy to spot because they don't get lost in a mass of output. Once I have got rid of the basic errors I would then look at combining a small number of both related and unrelated features in individual tests to make sure that there is no unexpected interference between the associated functionality. Only late on would I switch to large datasets to make sure there are no issues with scaling up.
  
  I also highly recommend re-running all the existing tests each time a new feature is added. I have been amazed how often I have unexpectedly broken something seemingly unrelated as the code has developed.
  
  Apologies if these principles are already well known to you!
  
  
  ---
  
  ### Answer by username_3 on 2017-07-16. Score: -1
  
  <http://www.chessgames.com> might be a good place.
  
  Another one is <http://www.top-5000.nl/pgn.htm>
  
  
  ---
  
  