Git Product home page Git Product logo

tests's Introduction

Test tasks for SupportOne

Test for trying to gain a vacancy of PHP-developer

NOTE: Tasks order present as its appears in the test file.


  1. REGEXP

Run testRegexp.php file

For online version use next links:

Matched case:

Unmatched case:

  1. TRANSLITERATION

Run testTransliteration.php file

As output, it must show a transliterated string.

NOTE: Because of quite unclear problem conditions some moments I'm added on my own.

  1. ARRAYS

Run testArrays.php file

As output the elements of the result array must be shown.

  1. RENAME FILES

Run testRenameFiles.php file

At first all files inside ./TestFList directory will rename. Second, show all files with '.jpg' extension.

NOTE: Full list of directories structure can be found at ./Data/RenameFilesTaskList.txt

  1. CSV

Run testCSV.php file

The result file './Data/test.csv' must be created.

  1. Parser

Run testParser.php file

NOTE: after run the file, another file ./Data/raw_data_to_parse.txt will be crated for debug purpose.

  1. MySQL. Query associated data

     DATABASE TYPE: MySQL
     DATABASE NAME: testdb
    

To fill the database use the test_associated.sql dump file;

IMPORTANT! Before run test file, please specify proper user and password values for $user and #password variables!

Run testMySQL_associated.php file

If query succeed, the result will print to the stdout and the file './Data/data_db_associated.txt' will create at the same time.

  1. MySQL. Remove duplicate record from table

     DATABASE TYPE: MySQL
     DATABASE NAME: testdb
    

To fill the database use the test_duplicates.sql dump file.

To delete duplicates directly from MySQL use the delete_duplicates.sql file.

IMPORTANT! Before run test file, please specify proper user and password values for $user and #password variables!

Run testMySQL_duplicates.php file

If query succeed, the success message will print to stdout.

tests's People

Contributors

lemadior avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.