Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть How to use a JUnit @Test Method to create a simple MVP tool in Java

  • EvilTester - Software Testing
  • 2016-04-15
  • 1293
How to use a JUnit @Test Method to create a simple MVP tool in Java
Java For TestersJavaForTestersEvilTesterTest AutomationJavaMarkdownLeanpubPandoc
  • ok logo

Скачать How to use a JUnit @Test Method to create a simple MVP tool in Java бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно How to use a JUnit @Test Method to create a simple MVP tool in Java или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку How to use a JUnit @Test Method to create a simple MVP tool in Java бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео How to use a JUnit @Test Method to create a simple MVP tool in Java

http://JavaForTesters.com

Demonstration of using @Test methods in IntelliJ IDE as a tool
Demonstration of running @Test methods in IntelliJ
Demonstration of debugging @Test methods in IntelliJ
Overview of Markdown
Overview of Leanpub
Overview of Pandoc

I use @Test annotated methods for simple tools. In this Java For Testers Case Study video I will show you how I do that.

So first. Here is a tool. This is an MVP. A Minimal Viable Product.

I want to take a leanpub project - a set of markdown files where the order is controlled by a Book.txt file. And I want to output a single markdown file that I can run through pandoc to create a pdf locally.

Markdown is a simple text markup language, that can be converted to HTML, or PDF, or some other formatting easily.

I want a tool to do that.

The IDE is my GUI. I can run the test, and it will do the work.

The variables are my GUI input fields.

I have some simple error handling - run @Test without adding a Book.txt file

Add a book.txt file, run the tool.

It is a 'minimum' viable product, so it doesn't do all the work. But it prompts me what to do next, so I have to enter a console command.

This works. I have a tool that will help me convert a leanpub project into a local preview.

I haven't made it robust, but if I encounter problems, I can run it in debug mode and set breakpoints.

If I use this enough, then I'll spend time refactoring, and I might even get to the point where I want a standalone tool, with a GUI or a command line interface.

But, I don't have to start there.

I use this approach a lot, and I tend to use Java, rather than a lot of scripting languages because I'm more familiar with it.

So if you want to knock up a quick tool. And have some basic programming knowledge. Don't think you have to write a full GUI or CLI. You can just run @Test annotated methods from a GUI.

The code for this is on GitHub

https://github.com/eviltester/pandoci...

In my eviltester 'pandocifier' project.

You can read more about this on my Java blog at blog.JavaForTesters.com.

And if you want to learn Java, using @Test methods, to help support you with your testing. Then I wrote the book Java For Testers.

http://JavaForTesters.com

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]