1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-30 11:24:21 +01:00
fab-manager/test/fixtures
2020-07-22 13:01:52 +02:00
..
files improved test for accounting periods 2020-06-24 15:25:17 +02:00
.keep release 2.0 rc 2016-03-23 18:39:41 +01:00
abuses.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
accounting_periods.yml improved test for accounting periods 2020-06-24 15:25:17 +02:00
addresses.yml updated fixtures 2019-05-29 10:58:45 +02:00
age_ranges.yml fix tests for age_range 2016-06-29 11:23:21 +02:00
assets.yml removed dead code + improved test suite 2018-12-27 14:53:11 +01:00
auth_providers.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
availabilities.yml uses DateTime#current instead of Time.now in tests 2019-12-02 15:29:05 +01:00
availability_tags.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
categories.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
components.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
coupons.yml some automated tests about cash coupons 2016-11-28 10:40:02 +01:00
credits.yml [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
custom_assets.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
database_providers.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
event_price_categories.yml add event fixtures 2016-11-28 11:00:01 +01:00
event_themes.yml age_range & theme for event model 2016-06-28 15:56:37 +02:00
events_event_themes.yml age_range & theme for event model 2016-06-28 15:56:37 +02:00
events.yml add event fixtures 2016-11-28 11:00:01 +01:00
exports.yml [feature] Async statistics export to XLSX 2016-07-27 11:28:54 +02:00
footprint_debugs.yml debug footprints 2020-07-21 19:25:21 +02:00
groups.yml update test data, allow passing test suite 2017-09-18 11:00:20 +02:00
history_values.yml enable/disable statistics module fomr the UI 2020-06-17 12:20:51 +02:00
i_calendar_events.yml import events asyncronously from icalendar 2019-12-02 15:53:24 +01:00
i_calendars.yml iCalendar server api & db model 2019-11-27 17:05:19 +01:00
imports.yml integration unit test for imports + fixed import result colors in UI + fixed test fixtures 2019-10-01 14:32:30 +02:00
invoice_items.yml use SHA-3 (256 bits) to compute checksums + simplify accounting period integrity check UI 2019-03-21 17:15:41 +01:00
invoices.yml [bug] invalid footprints in invoices fixtures 2020-03-25 12:34:33 +01:00
invoicing_profiles.yml moving organization & address to invoicingProfile + refactored doc about postgre 2019-05-29 14:28:14 +02:00
licences.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
machines_availabilities.yml tests for availabilities 2016-04-13 17:26:17 +02:00
machines.yml [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
notifications.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
o_auth2_mappings.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
o_auth2_providers.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
offer_days.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
organizations.yml updated fixtures 2019-05-29 10:58:45 +02:00
plans.yml [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
price_categories.yml add tests about event price's categories 2016-09-08 16:58:18 +02:00
prices.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
profiles.yml move gender & birthday to statistic_profile 2019-06-04 13:33:00 +02:00
project_steps.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
project_users.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
projects_components.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
projects_machines.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
projects_themes.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
projects.yml migrate projects to statistic_profile 2019-06-06 16:34:53 +02:00
README.md Enhanced rake task to create fixtures for test cases 2020-07-22 09:45:20 +02:00
reservations.yml do not display invoice update logs in test mode + updated reservations fixtures w/o stp_invoice_id column + helper script to run tests 2019-09-11 14:29:35 +02:00
roles.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
settings.yml enable/disable statistics module fomr the UI 2020-06-17 12:20:51 +02:00
slots_reservations.yml improved invoices test + added fixtures 2019-01-10 12:40:42 +01:00
slots.yml improved invoices test + added fixtures 2019-01-10 12:40:42 +01:00
spaces_availabilities.yml test space availabilities api 2017-02-15 16:22:19 +01:00
spaces.yml test space availabilities api 2017-02-15 16:22:19 +01:00
statistic_custom_aggregations.yml [bug] wrong statistics about hours available for reservation 2017-01-03 13:35:36 +01:00
statistic_fields.yml add age&theme filters to statistics 2016-06-30 12:48:46 +02:00
statistic_graphs.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
statistic_indices.yml messages variations depending on slot duration 2019-12-09 10:27:50 +01:00
statistic_profile_trainings.yml migrate trainings to statistic_profile and adjust code 2019-06-06 12:00:21 +02:00
statistic_profiles.yml move gender & birthday to statistic_profile 2019-06-04 13:33:00 +02:00
statistic_sub_types.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
statistic_type_sub_types.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
statistic_types.yml space db model 2017-02-13 14:38:28 +01:00
stylesheets.yml fix fixtures 2020-03-25 12:35:09 +01:00
subscriptions.yml [ongoing] migrate subscriptions & reservations to statistic_profile 2019-06-04 16:50:23 +02:00
tags.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
themes.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
tickets.yml add tests about event price's categories 2016-09-08 16:58:18 +02:00
trainings_availabilities.yml test export availabilites 2020-07-22 11:16:43 +02:00
trainings_machines.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
trainings_pricings.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
trainings.yml [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
user_tags.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
users_credits.yml [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
users_roles.yml removed dead code + improved test suite 2018-12-27 14:53:11 +01:00
users.yml test members export 2020-07-22 13:01:52 +02:00
wallet_transactions.yml link wallet & its transactions to invoicingprofile 2019-06-03 16:00:09 +02:00
wallets.yml link wallet & its transactions to invoicingprofile 2019-06-03 16:00:09 +02:00

Test fixtures

Fixtures are test data. Every time a new test is run, the database is filled with these data.

You can create fixtures manually or using the following task, to dump your current table/database to the YAML fixture files:

rails db:to_fixtures[table]

The parameter table is optional. If not specified, the whole database will be dumped.