Title: How to monitor the features called in after scenario and after feature hooks?
Tags: karate
Question: I am calling a feature file after-feature hook . 
It is mentioned in the readme that 

```# one limitation of afterScenario and afterFeature is that any feature steps involved will NOT appear
```

So how to check whether anything has failed in the feature file called in after-feature hook?
One possibility is to use karate.log file , but is there any other way to generate reports for it?


Here is the accepted answer: There is no other way, print to the log.

You can also create a feature file just to test this feature being called and debug that using the Karate UI.

It may be a better idea to use the yet undocumented Java hook, see this example MandatoryTagHook



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2019:00:05/13/19', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<karate>', 'Title': 'How to monitor the features called in after scenario and after feature hooks?', 'ViewCount': 122, 'id': 56113019, 'user_AboutMe': '', 'user_AccountId': 8832946.0, 'user_DisplayName': 'Kishore', 'user_Reputation': 119.0, 'user_Views': 76.0, 'user_id': 6598493.0}}