Skip to content

Este repositorio servirá para que los aspirantes a colaborar con vauxoo suban aquí el resultado de su evaluación técnica

License

Notifications You must be signed in to change notification settings

keylor2906/vauxoo-applicant

 
 

Repository files navigation

vauxoo_applicant

Este repositorio servirá para que los aspirantes a colaborar con vauxoo suban aquí el resultado de su evaluación técnica, por medio de pull request (PR)

Hacer un fork de este repositorio, con tu usuario y empezar a resolver los problemas de la prueba técnica.

Prueba técnica

NOTE: Your PR will test it by travis using python unittest, flake8 and pylint.

You can install with next commands:

# apt-get install pylint python-flake8

You can execute test locally with next commands:

cd vauxoo-applicant/
flake8 . --exclude=__init__.py && echo $?  # python guidelines
pylint --rcfile=.pylint.cfg *.py && echo $?  # python guidelines
python2.7 .all_unittest.py && echo $?  # Execute unittest for python

If exit with 0 (zero) each command and don't show errors your code is very good!

NOTE2: Your PR will test postgres script too. You can execute this test locally with next commands:

createdb employee_employee -U postgres # create database (First remove if exists with "dropdb employee_employee")
cd vauxoo-applicant/
PGPORT=5432 psql -d employee_employee -U postgres -h localhost -a -f ./employee_vauxoo.sql  # Execute sql file.
PGHOST=localhost PGPORT=5432 PG_USER='postgres' python ./.psql_unittest.py && echo $?  # Execute unittest for postgresql.

If exit with 0 (zero) last command and don't show errors your code is very good!

About

Este repositorio servirá para que los aspirantes a colaborar con vauxoo suban aquí el resultado de su evaluación técnica

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%