READINGS

Mariana Yañez
3 min readOct 20, 2020

Test Driven Development

  • It basically helps you to have a code easy to re-used. Because this system is like having two users, clients and test rigs.
  • The two keys to start writing a code is thinking about what you want to do and how to test it.
  • In a business meeting it can be hard to bring the technical world. But, you need to respect both sides.

Unit Test

Unit tests are fasters than other tests

technically is about finding the unit test or they way to test the fits you the most. It’s very recommended that lasts less than 10 min, why? bc it is important for you to be able to run it and test it without being too tedious.

usually programmers don’t run their own code tests bc they are going to have the same vision (probably), that's why the testers exist. they would find something or see something that you weren't. two heads think better than one.

Xunit

Xunit is the family name given to bunch of testing frameworks.

  • Kent Beck: fan of automated testing at the heart of software development.
  • Kent’s likes teams to build their own framework, so they can feel this ownership and be more proud at the moment of finishing or changing something.
  • what JUnit did was basically introducing more vocabulary to software developers and adding this green/red bar.

Mocks Aren’t Stubs

Stub is an object that simulates real objects with the minimum number of methods required for a test. They also provide methods to verify methods to access stub’s internal state, which is necessary to verify the internal state of the object. Mock objects are usually created by open-source libraries and mock frameworks like Mockito, jMock and EasyMock. These library helps to create, verify, and stub mocks. Mock object has knowledge of how it’s methods are executed in a unit test, and it verifies if methods are actually get called against the expected ones. Stub object is usually used for state verification, while mock object is mostly used for behavior verification. As a Java developer, you can take advantage of these powerful testing techniques to test your module in isolation.

Java Build Tools For Dependency Management

Maven is a build tool for Java projects, and familiarity with can benefit you. Dependency managers are software modules that coordinate the integration of external libraries or packages into larger application stack. Maven’s streamlined, XML-based configuration model enables developers to rapidly describe or grasp the outlines of any Java-based project, which makes starting and sharing new projects an easier task. No matter which build tools you prefer (or are required to use), it’s always a good idea to know how they handle your dependencies.

Editors (Vim)

It’s very convenient to have Vim at your hands on basically every combination of operating-systems and architectures and via ssh terminal connections on mobile operating systems where it’s featureful keys saves taps and time! It is very fast, it has keyboard combos for every action, it has built in regular expression search & replace/remember. Vim has a very healthy plugin architecture and plenty of plugins to do pretty much everything you want to. Vim is always there: Loyal, resilient, stable, sturdy, and ready to work.

Version Control (Git)

Git is the most commonly used version control system today and is quickly becoming the standard version of control (VCS). Meaning your local copy of code is a complete version control repository. These fully-functional local repositories make it is easy to work offline or remotely. Using Git with a source code management tool can increase your team’s productivity by encouraging collaboration, enforcing policies, automating processes, and improving visibility and traceability of work. Git allows a team of people to work together, all using the same files. And it helps the team cope with the confusion that tends to happen when multiple people are editing the same files.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Mariana Yañez
Mariana Yañez

No responses yet

Write a response