# Interview Tests

## Initial Questions

1. What types of Rails and Ruby work have you done--more front end or back end focused?
2. Have you used alternative databases, like Mongodb, ElasticSearch, Cassandra or anything like that.. If so, how?
3. Do you have any experience with Oauth or authentication systems.. etc. If so, how?
4. Have you done any crawling or scraping? Using Nokogiri?
5. Do you have experience with regular expressions?&#x20;
6. Do you have any experience with natural language parsing, sentiment detection, text content extraction? If so, describe how and how much?
7. What's your experience with Docker and Docker compose? Have you used a Docker-based system before? &#x20;
8. Have you used RSpec? Which version? How would you rate your ability?
9. Have you used Ruby SLIM or HAML?&#x20;
10. Are you willing to work hard, and work with most of your hours overlapping USA East Coast hours?
11. How are your verbal english skills? Can we get on the phone/skype and talk through issues?
12. Would you be willing to do a couple of little Ruby-specific tests to get a sense of your coding and problem solving abilities.

## Follow up Questions

* Do you have any experience with marketing software? Marketing automation? Please explain.&#x20;
* Have you worked with social media? Have you used social media to promote yourself in any way? Please explain.&#x20;
* Take a look at the Rappid.js framework. We have a drag and drop builder built with this framework. Do you think you would have any problems understanding code written with this framework? Bug fixing it? Modifying it? Improving it?

## Docker Test

Our dev container uses Alpine LInux image to keep the container size small. We use the same container in production and development. Our feature tests rely on Capybara, and ideally Chrome. But, installing Chrome has been a problem. So, the task was to either 1) get Chrome working, or 2) move to another small image type (like maybe phusion) with the same type setup we have (minimal container, but all the proprietary libraries we need in the image).

[Link to Zip file containing the Dockerfile, and a run.sh that tests fixing this.](https://github.com/omalab/engineering-wiki/tree/c135944ef1dbfa3ef99ee3656bb5405e22ca45b9/assets/testchromehelper.zip)

## Docker Compose Test

Build a docker compose file that, on launch, will start a postgres database, a redis database, and a ruby container, with them linked for networking purposes. Return this as a gist on github back to us.

## Regular Expressions

There are two test cases in the linked file. Both of these cases need to pass. Please make it work.

<https://eval.in/742986>

## RSpec

Write a simple example of an RSPEC test that loops through a fixture folder, and loads a text file.. in each file, you are checking if you can find the letter “a” in the file. Return this as a gist on github back to us.

## Natural Language Processing

Describe how you would solve the problem of finding postal addresses in a plain text file.

## Rails

Describe how you would test a modern Rails application? Which tools would you use?
