A: There are three main reasons why your AppMaps are empty:
A: Make sure that a) appmap.yml exists and is properly configured, b) the language agent is correctly set up, c) the AppMap agent is activated when running tests. Check the language-specific intructions below for additional information.
For a step-by-step AppMap setup guide, visit the Quickstart guide and follow the instructions for your code editor and language.
A: Make sure that a) appmap.yml exists and is properly configured, b) the AppMap plugin is in the correct location in pom.xml, c ) non-standard surefire configuration can prevent the AppMap agent to get activated when running tests. See the Maven plugin guide for details.
A: An unknown template for ordinal error happens when PowerMock uses its own ClassLoader to load the
To avoid this, you need to instruct PowerMock to ignore these classes. Please see the appmap-java
reference documentation for more information.
A: You’re most likely missing the Railtie dependency. Make sure you require
See the Agent setup documentation for further details about instrumentation of Rails applications.
require 'appmap/rspec' before any other classes get loaded in
spec_helper.rb, see Ruby documentation for details.