11
2+ = SQL Server Testing Setup
3+
4+ 1) $ bundle install
5+ 2)
6+
27= Arel Testing Setup
38
49You should have both rails and the adapter cloned to your typical repo folder. Let's say this
@@ -15,9 +20,68 @@ this project root. From here you can start testing, but it is best practice to u
1520 $ bundle exec rake spec:sqlserver
1621
1722
23+
24+ = SQL Server Todo
25+
26+ 2384 tests, 9524 assertions, 30 failures, 37 errors
27+
28+ * Verify coerced tests
29+ Undefined coerced test: AdapterTest#test_add_limit_offset_should_sanitize_sql_injection_for_limit_without_comas
30+ Undefined coerced test: AdapterTest#test_add_limit_offset_should_sanitize_sql_injection_for_limit_with_comas
31+ Undefined coerced test: EagerAssociationTest#test_eager_with_has_many_and_limit_and_high_offset_and_multiple_array_conditions
32+ Undefined coerced test: EagerAssociationTest#test_eager_with_has_many_and_limit_and_high_offset_and_multiple_hash_conditions
33+ Undefined coerced test: EagerAssociationTest#test_count_with_include
34+ Undefined coerced test: AttributeMethodsTest#test_typecast_attribute_from_select_to_false
35+ Undefined coerced test: AttributeMethodsTest#test_typecast_attribute_from_select_to_true
36+ Undefined coerced test: BasicsTest#test_read_attributes_before_type_cast_on_datetime
37+ Undefined coerced test: CalculationsTest#test_should_sum_expression
38+ Undefined coerced test: InheritanceTest#test_a_bad_type_column
39+ Undefined coerced test: InheritanceTest#test_eager_load_belongs_to_primary_key_quoting
40+ Undefined coerced test: NestedScopingTest#test_merged_scoped_find
41+ Undefined coerced test: MigrationTest#test_add_column_not_null_without_default
42+ Undefined coerced test: ChangeTableMigrationsTest#test_string_creates_string_column
43+ Undefined coerced test: NamedScopeTest#test_named_scopes_honor_current_scopes_from_when_defined
44+ Undefined coerced test: QueryCacheTest#test_cache_does_not_wrap_string_results_in_arrays
45+
46+
47+
1848= Arel Todo
1949
20- 338 examples, 64 failures, 3 pending
50+ 338 examples, 6 failures, 3 pending
51+
52+ * integration/joins/
53+ √ with_adjacency_spec.rb
54+ x with_aggregations_spec.rb # => 1 failure (debug after take spec)
55+ √ with_compounds_spec.rb
56+ * unit/predicates
57+ √ binary_spec.rb
58+ √ equality_spec.rb
59+ √ in_spec.rb
60+ √ noteq_spec.rb
61+ √ predicates_spec.rb
62+ * unit/primitives
63+ √ attribute_spec.rb
64+ √ expression_spec.rb
65+ √ literal_spec.rb
66+ √ value_spec.rb
67+ * unit/relations
68+ √ alias_spec.rb
69+ x delete_spec.rb # => 1 failure (debug after take spec)
70+ √ from_spec.rb
71+ √ group_spec.rb
72+ √ having_spec.rb
73+ √ insert_spec.rb
74+ √ join_spec.rb
75+ x lock_spec.rb # => 1 failure (todo on purpose)
76+ - Add more tests.
77+ √ order_spec.rb
78+ √ project_spec.rb
79+ • skip_spec.rb
80+ √ table_spec.rb
81+ • take_spec.rb
82+ x update_spec.rb # => 1 failure (debug after take spec)
83+ √ where_spec.rb
84+
2185
2286 * Review/remove our long winded add_limit_offset!
2387 Supporting:
0 commit comments