alsointech / implementation-test

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementation-test

Alejandro Franco CedeΓ±o Job application: R19775 Software Development Engineer

Demo 🍿

View DEMO

Description

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.

Installation

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

Running

./scripts/run.sh data/input.xml # input data goes inside /data folder
./scripts/run.sh data/input.json

Testing

./scripts/run_tests.sh

Folder Arch

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

Reference

About

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.


Languages

Language:C++ 93.8%Language:Shell 6.2%