Alejandro Franco CedeΓ±o Job application: R19775 Software Development Engineer
View DEMO
This is the command line utility capable to process XML and JSON data formats, related to performs data extraction operations to employee datasets. Written in C++, using libraries like libxml2-dev
and nlohmann-json3-dev
, also, Unix shell scripts included for automation. Please note, binary files are not loaded to the repository according to .gitignore
, and all object files *.o
are ignored and removed during compilation step.
sudo apt install gcc # make sure you gave installed
# libraries installations
sudo apt-get install libxml2-dev
sudo apt-get install nlohmann-json3-dev
# clone repository
git clone https://github.com/afrancocedeno/implementation-test.git
# set your working directory
cd implementation-test
# convert script to excecutables
chmod +x scripts/*.sh
./scripts/run.sh data/input.xml # input data goes inside /data folder
./scripts/run.sh data/input.json
./scripts/run_tests.sh
implementation-test/
βββ README.md
βββ data
β βββ input.json
β βββ input.xml
β βββ input2.json
β βββ input2.xml
βββ include
β βββ employee.h
βββ scripts
β βββ run.sh
β βββ run_tests.sh
βββ src
β βββ functions.cpp
β βββ main.cpp
βββ tests
βββ data
β βββ json
β β βββ empty_format1.json
β β βββ empty_format2.json
β β βββ no_format.jon
β β βββ no_formatjson
β βββ no_format
β βββ xml
β βββ empty_format1.xml
β βββ empty_format2.xml
β βββ no_format.xl
β βββ no_formatxml
βββ test_cases.cpp
- https://en.cppreference.com/
- reference manual:
man gcc
- reference manual:
man tree
- https://chatgpt.com/
- SOLID principles: Single responsibitlity principle (SRP)
- Test standard library: cassert
- read XML data from c++ Microsoft Docs