in-toto / in-toto-jenkins-plugin

A Jenkins plugin to track steps and create in-toto link metadata
MIT License
5 stars 5 forks source link

Generic crud test #10

Closed axif0 closed 2 months ago

axif0 commented 2 months ago

This commit adds a new integration test file GenericCRUDTestV2.java, which contains test cases to verify the functionality of the GenericCRUD transport class. The tests simulate submitting a Link object to a server using HTTP POST requests and validate that the submission was successful by checking the response status code. Also, these tests ensure that the GenericCRUD transport behaves as expected when interacting with HTTP endpoints, providing confidence in its functionality.

It is the output snippet of mvn test image