From 26ffc023266ffed4f0979e9d259a1a53d1451d81 Mon Sep 17 00:00:00 2001 From: Saager Mhatre Date: Wed, 21 Sep 2011 20:39:52 +0530 Subject: [PATCH] restructured features and unit tests under single tests direcrtory now we can run all tests with a single command like so: nosetests --with-freshen tests/ --- {features => tests/features}/core.feature | 0 {features => tests/features}/error_steps.feature | 0 {features => tests/features}/list_undefined.feature | 0 {features => tests/features}/named_transform.feature | 0 {features => tests/features}/steps.py | 0 {features => tests/features}/tagging.feature | 0 {features => tests/features}/transform.feature | 0 {features => tests/features}/twisted.feature | 0 {features => tests/features}/xunit.feature | 0 {other_tests => tests/units}/README.textile | 0 tests/units/resources/.freshenignore | 0 {other_tests => tests/units}/resources/Befriend_with_tags.feature | 0 .../resources/Befriend_with_tags_and_background_title.feature | 0 .../units}/resources/Befriend_without_tags.feature | 0 .../units}/resources/Befriend_without_tags_fr.feature | 0 .../units}/resources/valid_no_tags_no_use_only.feature | 0 .../units}/resources/valid_no_tags_no_use_only_fr.feature | 0 .../units}/resources/valid_no_tags_with_multiple_use_only.feature | 0 .../units}/resources/valid_no_tags_with_use_only.feature | 0 .../units}/resources/valid_no_tags_with_use_only_fr.feature | 0 .../resources/valid_no_tags_with_use_only_short_form.feature | 0 .../resources/valid_no_tags_with_use_only_short_form_fr.feature | 0 .../units}/resources/valid_with_tags_no_use_only.feature | 0 .../units}/resources/valid_with_tags_no_use_only_fr.feature | 0 .../valid_with_tags_with_full_unix_path_use_only.feature | 0 .../valid_with_tags_with_full_windows_path_use_only.feature | 0 .../resources/valid_with_tags_with_multiple_use_only.feature | 0 .../resources/valid_with_tags_with_multiple_use_only_bg.feature | 0 .../resources/valid_with_tags_with_unicode_use_only.feature | 0 .../units}/resources/valid_with_tags_with_use_only.feature | 0 {other_tests => tests/units}/tests_freshen_nose_plugin.py | 0 {other_tests => tests/units}/tests_parser.py | 0 32 files changed, 0 insertions(+), 0 deletions(-) rename {features => tests/features}/core.feature (100%) rename {features => tests/features}/error_steps.feature (100%) rename {features => tests/features}/list_undefined.feature (100%) rename {features => tests/features}/named_transform.feature (100%) rename {features => tests/features}/steps.py (100%) rename {features => tests/features}/tagging.feature (100%) rename {features => tests/features}/transform.feature (100%) rename {features => tests/features}/twisted.feature (100%) rename {features => tests/features}/xunit.feature (100%) rename {other_tests => tests/units}/README.textile (100%) create mode 100644 tests/units/resources/.freshenignore rename {other_tests => tests/units}/resources/Befriend_with_tags.feature (100%) rename {other_tests => tests/units}/resources/Befriend_with_tags_and_background_title.feature (100%) rename {other_tests => tests/units}/resources/Befriend_without_tags.feature (100%) rename {other_tests => tests/units}/resources/Befriend_without_tags_fr.feature (100%) rename {other_tests => tests/units}/resources/valid_no_tags_no_use_only.feature (100%) rename {other_tests => tests/units}/resources/valid_no_tags_no_use_only_fr.feature (100%) rename {other_tests => tests/units}/resources/valid_no_tags_with_multiple_use_only.feature (100%) rename {other_tests => tests/units}/resources/valid_no_tags_with_use_only.feature (100%) rename {other_tests => tests/units}/resources/valid_no_tags_with_use_only_fr.feature (100%) rename {other_tests => tests/units}/resources/valid_no_tags_with_use_only_short_form.feature (100%) rename {other_tests => tests/units}/resources/valid_no_tags_with_use_only_short_form_fr.feature (100%) rename {other_tests => tests/units}/resources/valid_with_tags_no_use_only.feature (100%) rename {other_tests => tests/units}/resources/valid_with_tags_no_use_only_fr.feature (100%) rename {other_tests => tests/units}/resources/valid_with_tags_with_full_unix_path_use_only.feature (100%) rename {other_tests => tests/units}/resources/valid_with_tags_with_full_windows_path_use_only.feature (100%) rename {other_tests => tests/units}/resources/valid_with_tags_with_multiple_use_only.feature (100%) rename {other_tests => tests/units}/resources/valid_with_tags_with_multiple_use_only_bg.feature (100%) rename {other_tests => tests/units}/resources/valid_with_tags_with_unicode_use_only.feature (100%) rename {other_tests => tests/units}/resources/valid_with_tags_with_use_only.feature (100%) rename {other_tests => tests/units}/tests_freshen_nose_plugin.py (100%) rename {other_tests => tests/units}/tests_parser.py (100%) diff --git a/features/core.feature b/tests/features/core.feature similarity index 100% rename from features/core.feature rename to tests/features/core.feature diff --git a/features/error_steps.feature b/tests/features/error_steps.feature similarity index 100% rename from features/error_steps.feature rename to tests/features/error_steps.feature diff --git a/features/list_undefined.feature b/tests/features/list_undefined.feature similarity index 100% rename from features/list_undefined.feature rename to tests/features/list_undefined.feature diff --git a/features/named_transform.feature b/tests/features/named_transform.feature similarity index 100% rename from features/named_transform.feature rename to tests/features/named_transform.feature diff --git a/features/steps.py b/tests/features/steps.py similarity index 100% rename from features/steps.py rename to tests/features/steps.py diff --git a/features/tagging.feature b/tests/features/tagging.feature similarity index 100% rename from features/tagging.feature rename to tests/features/tagging.feature diff --git a/features/transform.feature b/tests/features/transform.feature similarity index 100% rename from features/transform.feature rename to tests/features/transform.feature diff --git a/features/twisted.feature b/tests/features/twisted.feature similarity index 100% rename from features/twisted.feature rename to tests/features/twisted.feature diff --git a/features/xunit.feature b/tests/features/xunit.feature similarity index 100% rename from features/xunit.feature rename to tests/features/xunit.feature diff --git a/other_tests/README.textile b/tests/units/README.textile similarity index 100% rename from other_tests/README.textile rename to tests/units/README.textile diff --git a/tests/units/resources/.freshenignore b/tests/units/resources/.freshenignore new file mode 100644 index 0000000..e69de29 diff --git a/other_tests/resources/Befriend_with_tags.feature b/tests/units/resources/Befriend_with_tags.feature similarity index 100% rename from other_tests/resources/Befriend_with_tags.feature rename to tests/units/resources/Befriend_with_tags.feature diff --git a/other_tests/resources/Befriend_with_tags_and_background_title.feature b/tests/units/resources/Befriend_with_tags_and_background_title.feature similarity index 100% rename from other_tests/resources/Befriend_with_tags_and_background_title.feature rename to tests/units/resources/Befriend_with_tags_and_background_title.feature diff --git a/other_tests/resources/Befriend_without_tags.feature b/tests/units/resources/Befriend_without_tags.feature similarity index 100% rename from other_tests/resources/Befriend_without_tags.feature rename to tests/units/resources/Befriend_without_tags.feature diff --git a/other_tests/resources/Befriend_without_tags_fr.feature b/tests/units/resources/Befriend_without_tags_fr.feature similarity index 100% rename from other_tests/resources/Befriend_without_tags_fr.feature rename to tests/units/resources/Befriend_without_tags_fr.feature diff --git a/other_tests/resources/valid_no_tags_no_use_only.feature b/tests/units/resources/valid_no_tags_no_use_only.feature similarity index 100% rename from other_tests/resources/valid_no_tags_no_use_only.feature rename to tests/units/resources/valid_no_tags_no_use_only.feature diff --git a/other_tests/resources/valid_no_tags_no_use_only_fr.feature b/tests/units/resources/valid_no_tags_no_use_only_fr.feature similarity index 100% rename from other_tests/resources/valid_no_tags_no_use_only_fr.feature rename to tests/units/resources/valid_no_tags_no_use_only_fr.feature diff --git a/other_tests/resources/valid_no_tags_with_multiple_use_only.feature b/tests/units/resources/valid_no_tags_with_multiple_use_only.feature similarity index 100% rename from other_tests/resources/valid_no_tags_with_multiple_use_only.feature rename to tests/units/resources/valid_no_tags_with_multiple_use_only.feature diff --git a/other_tests/resources/valid_no_tags_with_use_only.feature b/tests/units/resources/valid_no_tags_with_use_only.feature similarity index 100% rename from other_tests/resources/valid_no_tags_with_use_only.feature rename to tests/units/resources/valid_no_tags_with_use_only.feature diff --git a/other_tests/resources/valid_no_tags_with_use_only_fr.feature b/tests/units/resources/valid_no_tags_with_use_only_fr.feature similarity index 100% rename from other_tests/resources/valid_no_tags_with_use_only_fr.feature rename to tests/units/resources/valid_no_tags_with_use_only_fr.feature diff --git a/other_tests/resources/valid_no_tags_with_use_only_short_form.feature b/tests/units/resources/valid_no_tags_with_use_only_short_form.feature similarity index 100% rename from other_tests/resources/valid_no_tags_with_use_only_short_form.feature rename to tests/units/resources/valid_no_tags_with_use_only_short_form.feature diff --git a/other_tests/resources/valid_no_tags_with_use_only_short_form_fr.feature b/tests/units/resources/valid_no_tags_with_use_only_short_form_fr.feature similarity index 100% rename from other_tests/resources/valid_no_tags_with_use_only_short_form_fr.feature rename to tests/units/resources/valid_no_tags_with_use_only_short_form_fr.feature diff --git a/other_tests/resources/valid_with_tags_no_use_only.feature b/tests/units/resources/valid_with_tags_no_use_only.feature similarity index 100% rename from other_tests/resources/valid_with_tags_no_use_only.feature rename to tests/units/resources/valid_with_tags_no_use_only.feature diff --git a/other_tests/resources/valid_with_tags_no_use_only_fr.feature b/tests/units/resources/valid_with_tags_no_use_only_fr.feature similarity index 100% rename from other_tests/resources/valid_with_tags_no_use_only_fr.feature rename to tests/units/resources/valid_with_tags_no_use_only_fr.feature diff --git a/other_tests/resources/valid_with_tags_with_full_unix_path_use_only.feature b/tests/units/resources/valid_with_tags_with_full_unix_path_use_only.feature similarity index 100% rename from other_tests/resources/valid_with_tags_with_full_unix_path_use_only.feature rename to tests/units/resources/valid_with_tags_with_full_unix_path_use_only.feature diff --git a/other_tests/resources/valid_with_tags_with_full_windows_path_use_only.feature b/tests/units/resources/valid_with_tags_with_full_windows_path_use_only.feature similarity index 100% rename from other_tests/resources/valid_with_tags_with_full_windows_path_use_only.feature rename to tests/units/resources/valid_with_tags_with_full_windows_path_use_only.feature diff --git a/other_tests/resources/valid_with_tags_with_multiple_use_only.feature b/tests/units/resources/valid_with_tags_with_multiple_use_only.feature similarity index 100% rename from other_tests/resources/valid_with_tags_with_multiple_use_only.feature rename to tests/units/resources/valid_with_tags_with_multiple_use_only.feature diff --git a/other_tests/resources/valid_with_tags_with_multiple_use_only_bg.feature b/tests/units/resources/valid_with_tags_with_multiple_use_only_bg.feature similarity index 100% rename from other_tests/resources/valid_with_tags_with_multiple_use_only_bg.feature rename to tests/units/resources/valid_with_tags_with_multiple_use_only_bg.feature diff --git a/other_tests/resources/valid_with_tags_with_unicode_use_only.feature b/tests/units/resources/valid_with_tags_with_unicode_use_only.feature similarity index 100% rename from other_tests/resources/valid_with_tags_with_unicode_use_only.feature rename to tests/units/resources/valid_with_tags_with_unicode_use_only.feature diff --git a/other_tests/resources/valid_with_tags_with_use_only.feature b/tests/units/resources/valid_with_tags_with_use_only.feature similarity index 100% rename from other_tests/resources/valid_with_tags_with_use_only.feature rename to tests/units/resources/valid_with_tags_with_use_only.feature diff --git a/other_tests/tests_freshen_nose_plugin.py b/tests/units/tests_freshen_nose_plugin.py similarity index 100% rename from other_tests/tests_freshen_nose_plugin.py rename to tests/units/tests_freshen_nose_plugin.py diff --git a/other_tests/tests_parser.py b/tests/units/tests_parser.py similarity index 100% rename from other_tests/tests_parser.py rename to tests/units/tests_parser.py