Skip to content

Arjuna 1.2.9

Compare
Choose a tag to compare
@rahul-verma rahul-verma released this 31 Aug 13:41

The build contains backward incompatible changes for placement of resource module/package and Http.service is to be used instead of Http.session. See the full list of additional features and modifications below:

  • Hook restructuring: Resources, Entities and Config hooks will now be present under project/libs/hook sub-package.
  • Data Entity and Data Generator support added to HTTP Action in SEAMful model.
  • Arjuna Format String now supports special lookups
    • data.xyz looks up in data container.
    • abc.xyz looks up in abc container.
    • xyz looks up for a direct name xyz and then also looks up in data container.
    • Conceptual support added for a.b.c or even a.b.c[123] style placements. This is yet to be tested.
  • Internal module added for dynamic importing.
  • New Arjuna Options added for hook packages.
  • Step wise logging added for HTTP Action and Message for clarity. Custom string representations added to the objects themselves.
  • Added dictionary behavior to dynamic Data Entity that Arjuna generates using data_entity call.
  • Objects of these classes are immutable.
  • Added remove support to all dictionary methods and as_dict method to exclude one of more keys.
  • Arjuna's HTTP Layer automation now exposes only HttpService as a top object for doing seamful as well as simple automation.
  • HttpSession is an Arjuna internal object (non-TPI). Http class methods for sending requests have been removed as in practice non-auto cookie management is rarely required. This reduces the public interface of Arjuna thereby simplying learning curve and documentation.
  • Initial support for HTTP Action externalization added.
  • Added Hover as a waitable operation.
  • JsonDict updates getattr method to support returning of Arjuna Json objects (JsonDict/JsonList).
  • Fix in logger functionality to convert msg to string representation to allow non-string objects to be logged.
  • Fixes in assert_match method of JsonDict.
  • Data Record is now aware of Arjuna's generator construct and calls its generate() method automatically even if not called explicitly.
  • Added jsonpath-ng==1.5.3 to dependencies.
  • Support for Min len in Random string generation. Added provision for strict usage and custom delimiter.
  • Added fixed_length_str method in Random class
  • JsonDict.assert_match: ignore_keys is changed to ignore argument which supports Jpath based igorning of content in JsonDict while matching.
  • JsonDict now support del keyword for deleting an item.
  • Added pop/extend/append methods to JsonList