|
| 1 | +# What's new in RequestsLibrary 0.9 |
| 2 | + |
| 3 | +## Intro |
| 4 | + |
| 5 | +- What guided the development. |
| 6 | +- What is the new keyword structure with session an session-less. |
| 7 | +- How the implicit assert mechanism on status works. |
| 8 | +- Best practices with nested keywords. |
| 9 | + |
| 10 | +## What guided the development |
| 11 | + |
| 12 | +### Back in Robocon 2019 |
| 13 | + |
| 14 | +- We started working on a core part of our testing library: |
| 15 | + the session handling for our backend test suite |
| 16 | +- **Session hacking RoboCon 17-01-2019** |
| 17 | +- We were struggling with some odd behaviors: |
| 18 | + - (of our "custom" oauth2 implementation) |
| 19 | + - but also not complete logging |
| 20 | + - and some very tricky bugs in headers handling |
| 21 | + |
| 22 | +### CHILI fork |
| 23 | + |
| 24 | +- **CHILI fork 4-3-2019** |
| 25 | +- Then some work ... that was useful for CHILI |
| 26 | + but with a little more attention that could have been useful for all the community |
| 27 | +- 8+ Pull Requests finally someone noticed ... Anssi Syrjäsalo (creator of RESTInstance lib) |
| 28 | +- Important: if you have libraries but you don't care / have time to maintain move under: MarketSquare |
| 29 | +- Fail on status |
| 30 | + |
| 31 | +### Robocon 2020 |
| 32 | + |
| 33 | +- Talking with Pekka and others I collected some ideas like one shot requests |
| 34 | + without previously having a session |
| 35 | +- But there were some problems in the current keyword parameters signatures: |
| 36 | + - session alias could not be removed since was mandatory and the first parameter |
| 37 | + - not all original requests parameters were mapped |
| 38 | + - parameters order were different between keywords |
| 39 | + - everything was in one file... |
| 40 | + |
| 41 | +A radical change was needed... |
| 42 | + |
| 43 | +### RobotFramework Italian Meetup |
| 44 | + |
| 45 | +So I took the opportunity of |
| 46 | + |
| 47 | + |
| 48 | +- First PR 5-3-2019 |
| 49 | +- Fail on |
| 50 | +- Merge |
| 51 | + |
| 52 | + |
| 53 | + |
0 commit comments