You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So basically what I've been doing on my test, is describing the column and just do a string comparison on the results. Do you have any other way of testing your entities?. Any suggestions would be appreciated
The text was updated successfully, but these errors were encountered:
@ChristianMurphy thanks for that we have the same idea #1267 (comment) but I wanted to be more simpler. like in rails have_many(:posts) something for validation validate_length_of(:password).to_be(16) but nevermind theres nothing yet. thanks anyway. 😄
Issue type:
[x] question
[ ] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]
mongodb
[ ]
mssql
[x]
mysql
/mariadb
[ ]
oracle
[ ]
postgres
[ ]
cockroachdb
[ ]
sqlite
[ ]
sqljs
[ ]
react-native
[ ]
expo
TypeORM version:
[x]
latest
[ ]
@next
[ ]
0.x.x
(or put your version here)Steps to reproduce or a small repository showing the problem:
Hello I was wondering how would you go about testing entities?
In ruby on rails you can test for the columns, constraits, and relations. so what Ive been doing is like this.
Post:
Test:
So basically what I've been doing on my test, is describing the column and just do a string comparison on the results. Do you have any other way of testing your entities?. Any suggestions would be appreciated
The text was updated successfully, but these errors were encountered: