diff --git a/.gitignore b/.gitignore index 7a171dc..8397c8b 100644 --- a/.gitignore +++ b/.gitignore @@ -180,10 +180,10 @@ cython_debug/ rendercv_output/ # Include reference files -!/tests/auxiliary_files/**/*.pdf -!/tests/auxiliary_files/**/*.tex -!/tests/auxiliary_files/**/*.md -!/tests/auxiliary_files/**/*.html +!/tests/testdata/**/*.pdf +!/tests/testdata/**/*.tex +!/tests/testdata/**/*.md +!/tests/testdata/**/*.html # Include example files !/examples/*.pdf diff --git a/tests/auxiliary_files/John_Doe_CV.yaml b/tests/auxiliary_files/John_Doe_CV.yaml deleted file mode 100644 index cf13d02..0000000 --- a/tests/auxiliary_files/John_Doe_CV.yaml +++ /dev/null @@ -1,4 +0,0 @@ -cv: - name: John Doe -design: - theme: classic diff --git a/tests/conftest.py b/tests/conftest.py index 671ce6d..3b557cc 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -11,7 +11,7 @@ import pydantic_extra_types.phone_numbers as pydantic_phone_numbers from rendercv import data_models as dm import rendercv.renderer as r -update_auxiliary_files = False +update_testdata = False folder_name_dictionary = { "rendercv_empty_curriculum_vitae_data_model": "empty", "rendercv_filled_curriculum_vitae_data_model": "filled", @@ -326,10 +326,10 @@ def root_directory_path(tests_directory_path) -> pathlib.Path: @pytest.fixture -def auxiliary_files_directory_path(tests_directory_path) -> pathlib.Path: - return tests_directory_path / "auxiliary_files" +def testdata_directory_path(tests_directory_path) -> pathlib.Path: + return tests_directory_path / "testdata" @pytest.fixture -def input_file_path(auxiliary_files_directory_path) -> pathlib.Path: - return auxiliary_files_directory_path / "John_Doe_CV.yaml" +def input_file_path(testdata_directory_path) -> pathlib.Path: + return testdata_directory_path / "John_Doe_CV.yaml" diff --git a/tests/test_data_models.py b/tests/test_data_models.py index 907ff7a..907526c 100644 --- a/tests/test_data_models.py +++ b/tests/test_data_models.py @@ -11,7 +11,7 @@ import ruamel.yaml from rendercv import data_models as dm -from .conftest import update_auxiliary_files +from .conftest import update_testdata @pytest.mark.parametrize( @@ -60,8 +60,8 @@ def test_format_date(date, expected_date_string): def test_read_input_file(input_file_path): - # Update the auxiliary files if update_auxiliary_files is True - if update_auxiliary_files: + # Update the auxiliary files if update_testdata is True + if update_testdata: input_dictionary = { "cv": { "name": "John Doe", @@ -471,9 +471,9 @@ def test_custom_theme_with_missing_files(tmp_path): ) -def test_custom_theme(auxiliary_files_directory_path): +def test_custom_theme(testdata_directory_path): os.chdir( - auxiliary_files_directory_path + testdata_directory_path / "test_copy_theme_files_to_output_directory_custom_theme" ) data_model = dm.RenderCVDataModel( @@ -486,9 +486,9 @@ def test_custom_theme(auxiliary_files_directory_path): assert data_model.design.theme == "dummytheme" -def test_custom_theme_without_init_file(tmp_path, auxiliary_files_directory_path): +def test_custom_theme_without_init_file(tmp_path, testdata_directory_path): reference_custom_theme_path = ( - auxiliary_files_directory_path + testdata_directory_path / "test_copy_theme_files_to_output_directory_custom_theme" / "dummytheme" ) diff --git a/tests/test_renderer.py b/tests/test_renderer.py index 8cdcd1d..4cab184 100644 --- a/tests/test_renderer.py +++ b/tests/test_renderer.py @@ -13,7 +13,7 @@ import pypdf from rendercv import renderer as r from rendercv import data_models as dm -from .conftest import update_auxiliary_files, folder_name_dictionary +from .conftest import update_testdata, folder_name_dictionary def test_latex_file_class(tmp_path, rendercv_data_model, jinja2_environment): @@ -304,13 +304,13 @@ def test_setup_jinja2_environment(): @time_machine.travel("2024-01-01") def test_generate_latex_file( tmp_path, - auxiliary_files_directory_path, + testdata_directory_path, request, theme_name, curriculum_vitae_data_model, ): reference_directory_path = ( - auxiliary_files_directory_path + testdata_directory_path / "test_generate_latex_file" / f"{theme_name}_{folder_name_dictionary[curriculum_vitae_data_model]}" ) @@ -326,8 +326,8 @@ def test_generate_latex_file( design={"theme": theme_name}, ) r.generate_latex_file(data_model, tmp_path / "make_sure_it_generates_the_directory") - # Update the auxiliary files if update_auxiliary_files is True - if update_auxiliary_files: + # Update the auxiliary files if update_testdata is True + if update_testdata: r.generate_latex_file(data_model, reference_directory_path) assert filecmp.cmp(output_file_path, reference_file_path) @@ -347,13 +347,13 @@ def test_generate_latex_file( @time_machine.travel("2024-01-01") def test_generate_markdown_file( tmp_path, - auxiliary_files_directory_path, + testdata_directory_path, request, theme_name, curriculum_vitae_data_model, ): reference_directory_path = ( - auxiliary_files_directory_path + testdata_directory_path / "test_generate_markdown_file" / f"{theme_name}_{folder_name_dictionary[curriculum_vitae_data_model]}" ) @@ -370,8 +370,8 @@ def test_generate_markdown_file( r.generate_markdown_file( data_model, tmp_path / "make_sure_it_generates_the_directory" ) - # Update the auxiliary files if update_auxiliary_files is True - if update_auxiliary_files: + # Update the auxiliary files if update_testdata is True + if update_testdata: r.generate_markdown_file(data_model, reference_directory_path) assert filecmp.cmp(output_file_path, reference_file_path) @@ -382,15 +382,15 @@ def test_generate_markdown_file( dm.available_themes, ) def test_copy_theme_files_to_output_directory( - tmp_path, auxiliary_files_directory_path, theme_name + tmp_path, testdata_directory_path, theme_name ): reference_directory_path = ( - auxiliary_files_directory_path / "test_copy_theme_files_to_output_directory" + testdata_directory_path / "test_copy_theme_files_to_output_directory" ) r.copy_theme_files_to_output_directory(theme_name, tmp_path) - # Update the auxiliary files if update_auxiliary_files is True - if update_auxiliary_files: + # Update the auxiliary files if update_testdata is True + if update_testdata: reference_directory_path.mkdir(parents=True, exist_ok=True) r.copy_theme_files_to_output_directory(theme_name, reference_directory_path) @@ -398,21 +398,21 @@ def test_copy_theme_files_to_output_directory( def test_copy_theme_files_to_output_directory_custom_theme( - tmp_path, auxiliary_files_directory_path + tmp_path, testdata_directory_path ): theme_name = "dummytheme" - test_auxiliary_files_directory_path = ( - auxiliary_files_directory_path + test_testdata_directory_path = ( + testdata_directory_path / "test_copy_theme_files_to_output_directory_custom_theme" ) - custom_theme_directory_path = test_auxiliary_files_directory_path / "dummytheme" + custom_theme_directory_path = test_testdata_directory_path / "dummytheme" reference_directory_path = ( - test_auxiliary_files_directory_path / "theme_auxiliary_files" + test_testdata_directory_path / "theme_testdata" ) - # Update the auxiliary files if update_auxiliary_files is True - if update_auxiliary_files: + # Update the auxiliary files if update_testdata is True + if update_testdata: # create dummytheme: if not custom_theme_directory_path.exists(): custom_theme_directory_path.mkdir(parents=True, exist_ok=True) @@ -445,11 +445,11 @@ def test_copy_theme_files_to_output_directory_custom_theme( ) # create reference_directory_path: - os.chdir(test_auxiliary_files_directory_path) + os.chdir(test_testdata_directory_path) r.copy_theme_files_to_output_directory(theme_name, reference_directory_path) - # change current working directory to the test_auxiliary_files_directory_path - os.chdir(test_auxiliary_files_directory_path) + # change current working directory to the test_testdata_directory_path + os.chdir(test_testdata_directory_path) # copy the auxiliary theme files to tmp_path: r.copy_theme_files_to_output_directory(theme_name, tmp_path) @@ -472,13 +472,13 @@ def test_copy_theme_files_to_output_directory_custom_theme( @time_machine.travel("2024-01-01") def test_generate_latex_file_and_copy_theme_files( tmp_path, - auxiliary_files_directory_path, + testdata_directory_path, request, theme_name, curriculum_vitae_data_model, ): reference_directory_path = ( - auxiliary_files_directory_path + testdata_directory_path / "test_generate_latex_file_and_copy_theme_files" / f"{theme_name}_{folder_name_dictionary[curriculum_vitae_data_model]}" ) @@ -488,8 +488,8 @@ def test_generate_latex_file_and_copy_theme_files( design={"theme": theme_name}, ) r.generate_latex_file_and_copy_theme_files(data_model, tmp_path) - # Update the auxiliary files if update_auxiliary_files is True - if update_auxiliary_files: + # Update the auxiliary files if update_testdata is True + if update_testdata: r.generate_latex_file_and_copy_theme_files(data_model, reference_directory_path) assert filecmp.dircmp(tmp_path, reference_directory_path).left_only == [] @@ -511,17 +511,17 @@ def test_generate_latex_file_and_copy_theme_files( def test_latex_to_pdf( tmp_path, request, - auxiliary_files_directory_path, + testdata_directory_path, theme_name, curriculum_vitae_data_model, ): latex_sources_path = ( - auxiliary_files_directory_path + testdata_directory_path / "test_generate_latex_file_and_copy_theme_files" / f"{theme_name}_{folder_name_dictionary[curriculum_vitae_data_model]}" ) reference_directory_path = ( - auxiliary_files_directory_path + testdata_directory_path / "test_latex_to_pdf" / f"{theme_name}_{folder_name_dictionary[curriculum_vitae_data_model]}" ) @@ -529,8 +529,8 @@ def test_latex_to_pdf( cv_data_model = request.getfixturevalue(curriculum_vitae_data_model) file_name_stem = f"{str(cv_data_model.name).replace(' ', '_')}_CV" - # Update the auxiliary files if update_auxiliary_files is True - if update_auxiliary_files: + # Update the auxiliary files if update_testdata is True + if update_testdata: # copy the latex sources to the reference_directory_path shutil.copytree( latex_sources_path, reference_directory_path, dirs_exist_ok=True @@ -579,17 +579,17 @@ def test_latex_to_pdf_invalid_latex_file(): def test_markdown_to_html( tmp_path, request, - auxiliary_files_directory_path, + testdata_directory_path, theme_name, curriculum_vitae_data_model, ): markdown_sources_path = ( - auxiliary_files_directory_path + testdata_directory_path / "test_generate_markdown_file" / f"{theme_name}_{folder_name_dictionary[curriculum_vitae_data_model]}" ) reference_directory = ( - auxiliary_files_directory_path + testdata_directory_path / "test_markdown_to_html" / f"{theme_name}_{folder_name_dictionary[curriculum_vitae_data_model]}" ) @@ -597,8 +597,8 @@ def test_markdown_to_html( cv_data_model = request.getfixturevalue(curriculum_vitae_data_model) file_name_stem = f"{str(cv_data_model.name).replace(' ', '_')}_CV" - # Update the auxiliary files if update_auxiliary_files is True - if update_auxiliary_files: + # Update the auxiliary files if update_testdata is True + if update_testdata: # copy the markdown sources to the reference_directory shutil.copytree(markdown_sources_path, reference_directory, dirs_exist_ok=True) diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory/LICENSE b/tests/testdata/test_copy_theme_files_to_output_directory/LICENSE similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory/LICENSE rename to tests/testdata/test_copy_theme_files_to_output_directory/LICENSE diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/BulletEntry.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/BulletEntry.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/BulletEntry.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/BulletEntry.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/EducationEntry.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/EducationEntry.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/EducationEntry.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/EducationEntry.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/ExperienceEntry.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/ExperienceEntry.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/ExperienceEntry.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/ExperienceEntry.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/Header.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/Header.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/Header.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/Header.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/NormalEntry.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/NormalEntry.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/NormalEntry.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/NormalEntry.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/OneLineEntry.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/OneLineEntry.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/OneLineEntry.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/OneLineEntry.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/Preamble.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/Preamble.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/Preamble.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/Preamble.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/PublicationEntry.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/PublicationEntry.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/PublicationEntry.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/PublicationEntry.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/SectionBeginning.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/SectionBeginning.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/SectionBeginning.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/SectionBeginning.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/SectionEnding.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/SectionEnding.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/SectionEnding.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/SectionEnding.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/TextEntry.j2.tex b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/TextEntry.j2.tex similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/TextEntry.j2.tex rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/TextEntry.j2.tex diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/__init__.py b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/__init__.py similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/__init__.py rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/__init__.py diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/theme_auxiliary_dir/theme_auxiliary_file.txt b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/theme_auxiliary_dir/theme_auxiliary_file.txt similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/theme_auxiliary_dir/theme_auxiliary_file.txt rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/theme_auxiliary_dir/theme_auxiliary_file.txt diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/theme_auxiliary_file.cls b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/theme_auxiliary_file.cls similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/theme_auxiliary_file.cls rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/dummytheme/theme_auxiliary_file.cls diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/theme_auxiliary_files/theme_auxiliary_dir/theme_auxiliary_file.txt b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/theme_auxiliary_files/theme_auxiliary_dir/theme_auxiliary_file.txt similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/theme_auxiliary_files/theme_auxiliary_dir/theme_auxiliary_file.txt rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/theme_auxiliary_files/theme_auxiliary_dir/theme_auxiliary_file.txt diff --git a/tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/theme_auxiliary_files/theme_auxiliary_file.cls b/tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/theme_auxiliary_files/theme_auxiliary_file.cls similarity index 100% rename from tests/auxiliary_files/test_copy_theme_files_to_output_directory_custom_theme/theme_auxiliary_files/theme_auxiliary_file.cls rename to tests/testdata/test_copy_theme_files_to_output_directory_custom_theme/theme_auxiliary_files/theme_auxiliary_file.cls diff --git a/tests/auxiliary_files/test_generate_latex_file/classic_empty/None_CV.tex b/tests/testdata/test_generate_latex_file/classic_empty/None_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file/classic_empty/None_CV.tex rename to tests/testdata/test_generate_latex_file/classic_empty/None_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file/classic_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file/classic_filled/John_Doe_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file/classic_filled/John_Doe_CV.tex rename to tests/testdata/test_generate_latex_file/classic_filled/John_Doe_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file/moderncv_empty/None_CV.tex b/tests/testdata/test_generate_latex_file/moderncv_empty/None_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file/moderncv_empty/None_CV.tex rename to tests/testdata/test_generate_latex_file/moderncv_empty/None_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file/moderncv_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file/moderncv_filled/John_Doe_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file/moderncv_filled/John_Doe_CV.tex rename to tests/testdata/test_generate_latex_file/moderncv_filled/John_Doe_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file/sb2nov_empty/None_CV.tex b/tests/testdata/test_generate_latex_file/sb2nov_empty/None_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file/sb2nov_empty/None_CV.tex rename to tests/testdata/test_generate_latex_file/sb2nov_empty/None_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file/sb2nov_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file/sb2nov_filled/John_Doe_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file/sb2nov_filled/John_Doe_CV.tex rename to tests/testdata/test_generate_latex_file/sb2nov_filled/John_Doe_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/classic_empty/None_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_empty/None_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/classic_empty/None_CV.tex rename to tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_empty/None_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex rename to tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/moderncv_empty/None_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_empty/None_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/moderncv_empty/None_CV.tex rename to tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_empty/None_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex rename to tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/sb2nov_empty/LICENSE b/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_empty/LICENSE similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/sb2nov_empty/LICENSE rename to tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_empty/LICENSE diff --git a/tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/sb2nov_empty/None_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_empty/None_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/sb2nov_empty/None_CV.tex rename to tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_empty/None_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex rename to tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex diff --git a/tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/LICENSE b/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/LICENSE similarity index 100% rename from tests/auxiliary_files/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/LICENSE rename to tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/LICENSE diff --git a/tests/auxiliary_files/test_generate_markdown_file/classic_empty/None_CV.md b/tests/testdata/test_generate_markdown_file/classic_empty/None_CV.md similarity index 100% rename from tests/auxiliary_files/test_generate_markdown_file/classic_empty/None_CV.md rename to tests/testdata/test_generate_markdown_file/classic_empty/None_CV.md diff --git a/tests/auxiliary_files/test_generate_markdown_file/classic_filled/John_Doe_CV.md b/tests/testdata/test_generate_markdown_file/classic_filled/John_Doe_CV.md similarity index 100% rename from tests/auxiliary_files/test_generate_markdown_file/classic_filled/John_Doe_CV.md rename to tests/testdata/test_generate_markdown_file/classic_filled/John_Doe_CV.md diff --git a/tests/auxiliary_files/test_generate_markdown_file/moderncv_empty/None_CV.md b/tests/testdata/test_generate_markdown_file/moderncv_empty/None_CV.md similarity index 100% rename from tests/auxiliary_files/test_generate_markdown_file/moderncv_empty/None_CV.md rename to tests/testdata/test_generate_markdown_file/moderncv_empty/None_CV.md diff --git a/tests/auxiliary_files/test_generate_markdown_file/moderncv_filled/John_Doe_CV.md b/tests/testdata/test_generate_markdown_file/moderncv_filled/John_Doe_CV.md similarity index 100% rename from tests/auxiliary_files/test_generate_markdown_file/moderncv_filled/John_Doe_CV.md rename to tests/testdata/test_generate_markdown_file/moderncv_filled/John_Doe_CV.md diff --git a/tests/auxiliary_files/test_generate_markdown_file/sb2nov_empty/None_CV.md b/tests/testdata/test_generate_markdown_file/sb2nov_empty/None_CV.md similarity index 100% rename from tests/auxiliary_files/test_generate_markdown_file/sb2nov_empty/None_CV.md rename to tests/testdata/test_generate_markdown_file/sb2nov_empty/None_CV.md diff --git a/tests/auxiliary_files/test_generate_markdown_file/sb2nov_filled/John_Doe_CV.md b/tests/testdata/test_generate_markdown_file/sb2nov_filled/John_Doe_CV.md similarity index 100% rename from tests/auxiliary_files/test_generate_markdown_file/sb2nov_filled/John_Doe_CV.md rename to tests/testdata/test_generate_markdown_file/sb2nov_filled/John_Doe_CV.md diff --git a/tests/auxiliary_files/test_latex_to_pdf/classic_empty/None_CV.pdf b/tests/testdata/test_latex_to_pdf/classic_empty/None_CV.pdf similarity index 100% rename from tests/auxiliary_files/test_latex_to_pdf/classic_empty/None_CV.pdf rename to tests/testdata/test_latex_to_pdf/classic_empty/None_CV.pdf diff --git a/tests/auxiliary_files/test_latex_to_pdf/classic_filled/John_Doe_CV.pdf b/tests/testdata/test_latex_to_pdf/classic_filled/John_Doe_CV.pdf similarity index 100% rename from tests/auxiliary_files/test_latex_to_pdf/classic_filled/John_Doe_CV.pdf rename to tests/testdata/test_latex_to_pdf/classic_filled/John_Doe_CV.pdf diff --git a/tests/auxiliary_files/test_latex_to_pdf/moderncv_empty/None_CV.pdf b/tests/testdata/test_latex_to_pdf/moderncv_empty/None_CV.pdf similarity index 100% rename from tests/auxiliary_files/test_latex_to_pdf/moderncv_empty/None_CV.pdf rename to tests/testdata/test_latex_to_pdf/moderncv_empty/None_CV.pdf diff --git a/tests/auxiliary_files/test_latex_to_pdf/moderncv_filled/John_Doe_CV.pdf b/tests/testdata/test_latex_to_pdf/moderncv_filled/John_Doe_CV.pdf similarity index 100% rename from tests/auxiliary_files/test_latex_to_pdf/moderncv_filled/John_Doe_CV.pdf rename to tests/testdata/test_latex_to_pdf/moderncv_filled/John_Doe_CV.pdf diff --git a/tests/auxiliary_files/test_latex_to_pdf/sb2nov_empty/None_CV.pdf b/tests/testdata/test_latex_to_pdf/sb2nov_empty/None_CV.pdf similarity index 100% rename from tests/auxiliary_files/test_latex_to_pdf/sb2nov_empty/None_CV.pdf rename to tests/testdata/test_latex_to_pdf/sb2nov_empty/None_CV.pdf diff --git a/tests/auxiliary_files/test_latex_to_pdf/sb2nov_filled/John_Doe_CV.pdf b/tests/testdata/test_latex_to_pdf/sb2nov_filled/John_Doe_CV.pdf similarity index 100% rename from tests/auxiliary_files/test_latex_to_pdf/sb2nov_filled/John_Doe_CV.pdf rename to tests/testdata/test_latex_to_pdf/sb2nov_filled/John_Doe_CV.pdf diff --git a/tests/auxiliary_files/test_markdown_to_html/classic_empty/None_CV_PASTETOGRAMMARLY.html b/tests/testdata/test_markdown_to_html/classic_empty/None_CV_PASTETOGRAMMARLY.html similarity index 100% rename from tests/auxiliary_files/test_markdown_to_html/classic_empty/None_CV_PASTETOGRAMMARLY.html rename to tests/testdata/test_markdown_to_html/classic_empty/None_CV_PASTETOGRAMMARLY.html diff --git a/tests/auxiliary_files/test_markdown_to_html/classic_filled/John_Doe_CV_PASTETOGRAMMARLY.html b/tests/testdata/test_markdown_to_html/classic_filled/John_Doe_CV_PASTETOGRAMMARLY.html similarity index 100% rename from tests/auxiliary_files/test_markdown_to_html/classic_filled/John_Doe_CV_PASTETOGRAMMARLY.html rename to tests/testdata/test_markdown_to_html/classic_filled/John_Doe_CV_PASTETOGRAMMARLY.html diff --git a/tests/auxiliary_files/test_markdown_to_html/moderncv_empty/None_CV_PASTETOGRAMMARLY.html b/tests/testdata/test_markdown_to_html/moderncv_empty/None_CV_PASTETOGRAMMARLY.html similarity index 100% rename from tests/auxiliary_files/test_markdown_to_html/moderncv_empty/None_CV_PASTETOGRAMMARLY.html rename to tests/testdata/test_markdown_to_html/moderncv_empty/None_CV_PASTETOGRAMMARLY.html diff --git a/tests/auxiliary_files/test_markdown_to_html/moderncv_filled/John_Doe_CV_PASTETOGRAMMARLY.html b/tests/testdata/test_markdown_to_html/moderncv_filled/John_Doe_CV_PASTETOGRAMMARLY.html similarity index 100% rename from tests/auxiliary_files/test_markdown_to_html/moderncv_filled/John_Doe_CV_PASTETOGRAMMARLY.html rename to tests/testdata/test_markdown_to_html/moderncv_filled/John_Doe_CV_PASTETOGRAMMARLY.html diff --git a/tests/auxiliary_files/test_markdown_to_html/sb2nov_empty/None_CV_PASTETOGRAMMARLY.html b/tests/testdata/test_markdown_to_html/sb2nov_empty/None_CV_PASTETOGRAMMARLY.html similarity index 100% rename from tests/auxiliary_files/test_markdown_to_html/sb2nov_empty/None_CV_PASTETOGRAMMARLY.html rename to tests/testdata/test_markdown_to_html/sb2nov_empty/None_CV_PASTETOGRAMMARLY.html diff --git a/tests/auxiliary_files/test_markdown_to_html/sb2nov_filled/John_Doe_CV_PASTETOGRAMMARLY.html b/tests/testdata/test_markdown_to_html/sb2nov_filled/John_Doe_CV_PASTETOGRAMMARLY.html similarity index 100% rename from tests/auxiliary_files/test_markdown_to_html/sb2nov_filled/John_Doe_CV_PASTETOGRAMMARLY.html rename to tests/testdata/test_markdown_to_html/sb2nov_filled/John_Doe_CV_PASTETOGRAMMARLY.html