jcilacad / aeroplanner-rest-api

Flight Booking Application RESTful API
Apache License 2.0
0 stars 2 forks source link

Add SoapUI functional tests #124

Open panagiotisbellias opened 6 months ago

panagiotisbellias commented 6 months ago

Create SoapUI project that will test as much functionality as possible through the API endpoints configuring application to use another PostgreSQL database named e.g. 'test'. Also integrate the SoapUI project in the GitHub Actions workflow to run them automated through CLI in each release!

panagiotisbellias commented 6 months ago

@jcilacad If you agree you can assign me this issue

jcilacad commented 6 months ago

Sure, you can proceed with this idea.

panagiotisbellias commented 6 months ago

@jcilacad Can you download/install SoapUI and import the functional tests xml file to tell me your opinion about alternative flows and test suite/test cases structure before proceeding to make the request logic?

Thanks

jcilacad commented 6 months ago

@panagiotisbellias Could you please provide me with the location or source from where I can download the functional tests XML file for importing into SoapUI?

panagiotisbellias commented 6 months ago

Sure, you can find it here

jcilacad commented 6 months ago

thanks

jcilacad commented 6 months ago

@panagiotisbellias Test structure and flows in the XML file are good.

panagiotisbellias commented 5 months ago

@jcilacad I restructured the tests and seem better now. The only thing left is arranging the flow and run-automate the tests You can find them here

jcilacad commented 5 months ago

Nice work

jcilacad commented 5 months ago

@panagiotisbellias. Do you currently use SoapUI for functional testing in your work? Or would you recommend it as a testing method for the tasks at hand? I’m considering studying it as well.

panagiotisbellias commented 5 months ago

@panagiotisbellias. Do you currently use SoapUI for functional testing in your work? Or would you recommend it as a testing method for the tasks at hand? I’m considering studying it as well.

Yes, I use it in my work for functional, end to end and performace testing. I also recommend it as it automates the testing process

jcilacad commented 5 months ago

thanks

panagiotisbellias commented 5 months ago

I have added more tests adding test cases about the needed authentication per cases and only the endpoints with id are pending. I want to inform that I cannot be anymore occupied with this task unless I have time which is hard currently. In my previous commit I have a comment of a possible bug found. It would be a pleasure for more devs or @jcilacad to occupy with this task. Feel free to unassign me this task. In my opinion it can be removed from this release (v1.0.0)

PS: 'Flights Management' TS should be split and placed before and after 'Reservations Management' TS possibly merging the two TSs in 'Flight Reservations Management' TS rearranging TCs

jcilacad commented 5 months ago

Thanks for your work; I’ll take it from here and handle the unassignment.