Русские видео

Сейчас в тренде

Иностранные видео




Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



Chain LP Report in Chain Test Report | BDD Cucumber | Part 2

𝐂𝐡𝐚𝐢𝐧 𝐋𝐏 𝐠𝐞𝐧𝐞𝐫𝐚𝐭𝐨𝐫 in Chain Test Report Chain LP Generator is one type of 𝐠𝐞𝐧𝐞𝐫𝐚𝐭𝐨𝐫 in Chain Test Report to generate Real time and to maintain historical report. What is 𝐂𝐡𝐚𝐢𝐧 𝐋𝐏? ChainLP is spring boot server and have front end packed in the form of Docker image So, In order to generate Chain Test Report using ChainLP generator, Chain LP server should be up How does Chain LP maintain HIstory? By pointing to DBs on the server machine. DBs could be any RDBMS such as MySQL, PostgreSQL, H2 etc. How to make Chain LP server up: We can user docker-compose files provided by developers for respective DBs or we can create ours depending on the need. Following is the command to up the Chain LP server backed by H2 database docker compose -f docker-compose-h2.yml up 𝐂𝐨𝐧𝐟𝐢𝐠𝐮𝐫𝐞 𝐂𝐡𝐚𝐢𝐧 𝐋𝐏 𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐨𝐫 in BDD: Once Chain LP server is up next thing is to utilize so for that purpose we will have to configure chainLP generator as follows: Adding following properties in to chaintest.properties file chaintest.generator.chainlp.enabled=true chaintest.generator.chainlp.class-name=com.aventstack.chaintest.generator.ChainLPGenerator chaintest.generator.chainlp.host.url=http://localhost/ 𝐄𝐱𝐞𝐜𝐮𝐭𝐢𝐧𝐠 𝐓𝐞𝐬𝐭 𝐜𝐚𝐬𝐞𝐬: Now we can execute test cases How to 𝐯𝐢𝐞𝐰 𝐫𝐞𝐬𝐮𝐥𝐭𝐬 𝐨𝐟 𝐂𝐡𝐚𝐢𝐧𝐋𝐏 𝐬𝐞𝐫𝐯𝐞𝐫? We can launch the url provided in chaintest.generator.chainlp.host.url How to 𝐚𝐭𝐭𝐚𝐜𝐡 𝐬𝐜𝐫𝐞𝐞𝐧𝐬𝐡𝐨𝐭 𝐚𝐭𝐭𝐚𝐜𝐡𝐦𝐞𝐧𝐭 on Failure in 𝐂𝐡𝐚𝐢𝐧𝐋𝐏 𝐑𝐞𝐩𝐨𝐫𝐭 We will have to use cloud storage such as azure blob or aws s3 bucket Let us meet in the video. Regards Prince

Comments