Skip to content

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

License

Notifications You must be signed in to change notification settings

alan196/jarsa-applicant

 
 

Repository files navigation

Jarsa Sistemas Technical Test

This repository will be used by applicants that wants to cooperate with Jarsa, to upload the results of the technical evaluation, through a pull request (PR)

Make a fork of this repository with your Github account, and complete the problems in the Technical test.

Technical test

NOTE: Your PR will be tested 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 jarsa-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 jarsa-applicant/
PGPORT=5432 psql -d employee_employee -U postgres -h localhost -a -f ./employee_jarsa.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 Jarsa 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 79.7%
  • TSQL 20.3%