Comments (4)
Good idea. Or to simplify this, we can search for the .credential file first (actually, why not just call test_settings.py? With this user can also specify the db host and username, dbname, etc). If the file is not found, use the default settings (as in the test script now). Setting environment variables is less easy. What do you think?
from monsql.
I now understand we need more configuration values apart from the username and password. Is using a python script file the best option in defining such values? I would suggest yaml
I suggest using environment variables as we prepare to add continuous integration such as Travis CI. This will allow tweaking only environment variables without touching the test script itself, in cases such as moving from a one CI service to another.
from monsql.
Huh...Interesting. I haven't used Travis CI before, but sounds a good idea.
I'll try to restructure the test script today. This piece of code will be published to the develop branch
from monsql.
I got the test scripts restructured. I use a yml file as the config file. It should be easier to test locally now.
from monsql.
Related Issues (11)
- Add filter parameter to Table.count
- Add using parameter to Table.remove
- Add test case for query set filter and limit
- SQLite3 Support HOT 3
- Add distinct to find and find_one
- Specify MySQL Database Driver HOT 4
- Request for Code Commenting and Elaboration HOT 6
- Add support for complex operator: $startswith, $endswith
- Support MapReduce
- Add support for PostgreSQL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monsql.