This repository was archived by the owner on Dec 18, 2023. It is now read-only.
forked from tiaringhio/Surreal.NET
-
Notifications
You must be signed in to change notification settings - Fork 6
This repository was archived by the owner on Dec 18, 2023. It is now read-only.
Implement Test Cases to exercise all aspects of the library. #82
Copy link
Copy link
Open
Labels
Description
Create test cases to exercise the library.
This task is to both keep track of tests that need to be written and the ones that have been written.
- Auth tests
- Root User signin Auth tests #80
- Namespace User Signin, Authenticate. then query for $token. Auth tests #80
- Database User Signin and Authenticate. then query for $token. Auth tests #80
- Scoped User Signup, Signin and Authenticate. then query for $token and $auth. Auth tests #80
- Invalidate JWTs Added more and extended existing auth tests #87
- Open connections with JWTs Added more and extended existing auth tests #87
- Auth Error Handling Fixed failing root auth test #102
- Create, Select, Delete, Update, Modify, Let, Change tests
- Basic tests Added Query Tests #30
- Error Responses
- Complex ID tests
-
temperature:{ location: 'London', date: $now }Thing can now have keys other than string #95 -
temperature:['London', $now]Thing can now have keys other than string #95 - Arbitrary Whitespace
-
- Exponential values
- Query tests (With and without vars defined vars)
- Basic tests Added Query Tests #30
- Mathematical and equality calculations Added Query Tests #30 More query tests (1 failing) #44 Cont. More query tests #47
- Multi line Queries More query tests (1 failing) #44 Temporary work around for SurrealDB bug #78
- Error Responses
- RELATE and Graph semantics Added Relate and Graph Semantics tests #83
- Array result
SELECT * FROM [1, 2, 3]Advanced projection query tests #92 - Advanced expression in the field projections Advanced projection query tests #92
- Complex ID tests
-
SELECT * FROM person:1..1000; -
SELECT * FROM temperature:['London', '2022-08-29T08:03:39']..['London', '2022-08-29T08:09:31']; - Arbitrary Whitespace
-
- Exponential values
- Embedded JavaScript functions
- Simultaneous Database Operations test Added a test for simultaneous async await #70
- Configuration Tests Added config and services tests #75
- Services Tests Added config and services tests #75
- Isolated session tests
- Multiple result sets Added support and tests for multiple result sets #88
- Converters/Serialization tests Added Conversion tests #52
- Strongly typed tests Added Query Tests #30 Cont. More query tests #47
- Thing tests Escape 'complex characters' characters in SurrealThing Key #29 Solve nullability warnings for Thing #106
- Round trip tests Added round trip tests for both RPC and REST Client #16 Rest round trip fixes #27
- Large payloads Added large document tests to Surreal DB #97
- Result equality tests
- Dates not in UTC tests
- Reestablish Web Socket connection after dropping