XIVStats / lodestone

A module for interfacing with the Final Fantasy XIV Lodestone, and returning entity (character, server etc.) information.
MIT License
0 stars 0 forks source link

(character): Implement integration tests #18

Open ReidWeb opened 2 years ago

ReidWeb commented 2 years ago

Implement integration tests that fail if the module is no longer able to correctly pull a character from the lodestone.

Use Case

As a developer of the lodestone module I want to know when the layout of the FFXIV lodestone has changed and thus broken support for pulling a character profile

Proposed Solution

  1. Identify a character who is never likely to be touched? Rachel's user? And implement exact matching on them
  2. Identify a character who we can do fuzzy checks on
    • Classes > number
    • Assert not null and has length for all other attributes

Other

@crakila @Pricetx may need help some help identifying these characters, namely the 'stable' user.


This is a :rocket: Feature Request

Crakila commented 2 years ago

Identify a character who is never likely to be touched? Rachel's user? And implement exact matching on them

Lanfeer Eronaile - Cerberus - https://eu.finalfantasyxiv.com/lodestone/character/13653862/

More than likely will never play again.

Identify a character who we can do fuzzy checks on

Any specific requirement for this? ie. Levels, mounts, minions, Story completion?